aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-06-22 03:57:47 +0200
committerSven Gothel <[email protected]>2021-06-22 03:57:47 +0200
commit2cabd831671d341e20973d026c917ec4e2e52a50 (patch)
treea4b3fd45df00263191b7dd3b1e1257a77d7c939d /scripts/build.sh
parent5dedacfb5e8f1fec70c746939159e9189a1aea6d (diff)
[re]build.sh: Use archabi dedicated build log
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 6009fdc..3a6a6f0 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=$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