summaryrefslogtreecommitdiff
path: root/Build/source/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-22 22:05:57 +0000
committerKarl Berry <karl@freefriends.org>2019-06-22 22:05:57 +0000
commit69210e3404429005409ef0824d1faa942a4a96e7 (patch)
tree191dbba9b9127bcf988e8b10409a5a29f71de09c /Build/source/Build
parent3f444ab8318d583f7cadb0d135486a8b204b567c (diff)
do buildinfo.sh first
git-svn-id: svn://tug.org/texlive/trunk@51425 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/Build')
-rwxr-xr-xBuild/source/Build15
1 files changed, 8 insertions, 7 deletions
diff --git a/Build/source/Build b/Build/source/Build
index f71d515f70f..d0854dd74c5 100755
--- a/Build/source/Build
+++ b/Build/source/Build
@@ -109,16 +109,16 @@ cd $TL_WORKDIR || exit 1
# failure at either step.
{
echo "starting TeX Live build at `date`"
- echo "uname: `uname -a`"
- test -s /etc/issue && echo "/etc/issue: `sed 1q /etc/issue`"
- echo "pwd: `pwd`"
- echo "cmdline: $0 $*"
+ printf 'CMDLINE\t"%s"\n' "$0 $*"
+ printf 'PWD\t"%s"\n' "`pwd`"
+ #
+ # output system info (will also be done by make, to buildinfo.log).
+ $mydir/doc/buildinfo.sh --no-config-status
+ echo "See also buildenv.log and buildinfo.log in `pwd`"
echo
- env | sort >buildenv.log
#
# Export the interesting TL_* variables that might be set,
- # so they can be logged by build-info.
- TL_BUILD_COMMAND_LINE="$0 $*"; export TL_BUILD_COMMAND_LINE
+ # so they can be dumped to buildenv.log.
test -z "$TL_BUILD_ENV" || export TL_BUILD_ENV
test -z "$TL_COMPILER_GFLAGS" || export TL_COMPILER_GFLAGS
test -z "$TL_CONF_BANNER" || export TL_CONF_BANNER
@@ -135,6 +135,7 @@ cd $TL_WORKDIR || exit 1
test -z "$TL_POSTCONFIGURE" || export TL_POSTCONFIGURE
test -z "$TL_TARGET" || export TL_TARGET
test -z "$TL_WORKDIR" || export TL_WORKDIR
+ env | sort >buildenv.log
#
set -vx # show the configure and make commands in the log.