diff options
author | Sven Gothel <[email protected]> | 2022-01-25 22:26:44 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-01-25 22:26:44 +0100 |
commit | 6f1a05d2d8d516509edd02aafff38f0d4e63d6af (patch) | |
tree | c52ff1ae094ec1aee6301e615febfbde10d8aa61 /scripts/build.sh | |
parent | 991e69925936bf5b654d790c75378ce0dc91a644 (diff) |
[re]build.sh: Fully specify `logfile` incl $rootdir and $archabi part; Adding rebuild-cross.sh
Diffstat (limited to 'scripts/build.sh')
-rw-r--r-- | scripts/build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index a1039401..57479f83 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -3,11 +3,12 @@ sdir=`dirname $(readlink -f $0)` rootdir=`dirname $sdir` bname=`basename $0 .sh` -logfile=$bname.log -rm -f $logfile . $sdir/setup-machine-arch.sh +logfile=$rootdir/$bname-$archabi.log +rm -f $logfile + export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-$archabi if [ ! -e $JAVA_HOME ] ; then echo $JAVA_HOME does not exist |