]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - make.sh
vpnmain.cgi: Disable compression by default
[ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index c0880573f78df8dbb788fa6dbc60398dd147eb3e..44516af73685f08d1c80b39c5510aa7449d11879 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -369,7 +369,7 @@ exiterror() {
        done
 
        # Dump logfile
-       if [ -n "${LOGFILE}" ]; then
+       if [ -n "${LOGFILE}" ] && [ -e "${LOGFILE}" ]; then
                echo # empty line
 
                local line
@@ -391,7 +391,7 @@ exiterror() {
 
 prepareenv() {
        # Are we running the right shell?
-       if [ -z "${BASH}" ]; then
+       if [ -z "${BASH}" ]; then
                exiterror "BASH environment variable is not set.  You're probably running the wrong shell."
        fi
 
@@ -1778,7 +1778,7 @@ toolchain)
        ${INTERACTIVE} && clear
 
        prepareenv
-       print_build_stage "Toolchain compilation"
+       print_build_stage "Toolchain compilation (${BUILD_ARCH})"
        buildtoolchain
        echo "`date -u '+%b %e %T'`: Create toolchain image for ${BUILD_ARCH}" | tee -a $LOGFILE
        test -d $BASEDIR/cache/toolchains || mkdir -p $BASEDIR/cache/toolchains