aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
parent5dedacfb5e8f1fec70c746939159e9189a1aea6d (diff)
[re]build.sh: Use archabi dedicated build log
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build.sh5
-rw-r--r--scripts/rebuild.sh5
2 files changed, 6 insertions, 4 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
diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh
index e470a4c..44e9f12 100644
--- a/scripts/rebuild.sh
+++ b/scripts/rebuild.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