diff options
author | Sven Gothel <[email protected]> | 2021-06-22 03:57:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-06-22 03:57:47 +0200 |
commit | 2cabd831671d341e20973d026c917ec4e2e52a50 (patch) | |
tree | a4b3fd45df00263191b7dd3b1e1257a77d7c939d /scripts | |
parent | 5dedacfb5e8f1fec70c746939159e9189a1aea6d (diff) |
[re]build.sh: Use archabi dedicated build log
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 5 | ||||
-rw-r--r-- | scripts/rebuild.sh | 5 |
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 |