]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix small things in Windows depkgs build scripts
authorKern Sibbald <kern@sibbald.com>
Sun, 16 Oct 2011 12:54:03 +0000 (14:54 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:03 +0000 (14:50 +0200)
bacula/src/win32/build-depkgs-mingw-w64
bacula/src/win32/build-depkgs-mingw32

index ef15d80ed30f17dde758d925bd2c95daba876993..2c965e4a72a71efe115914977af6bdae512f8ffb 100755 (executable)
@@ -42,13 +42,14 @@ SCRIPT_DIR=`pwd`
 
 cd ../../..
 TOP_DIR=`pwd`
+TOP_DIR=${DEPKGS:-${TOP_DIR}}
 
 if [ -e ${TOP_DIR}/cross-tools/mingw-w64/bin/x86_64-pc-mingw32-gcc ]
 then
    cd ${TOP_DIR}/cross-tools/mingw-w64/bin
    BIN_DIR=`pwd`
 else
-   echo "The GCC cross compiler isn\'t installed."
+   echo "The GCC cross compiler is not installed."
    echo "You must run build-win64-cross-tools first"
    exit 1
 fi
index 041bb5ff3378f4cc10a76a311024e33565f95338..800396d8b07ad9c0d91e2c9dbca060087f02b5f2 100755 (executable)
@@ -46,7 +46,7 @@ elif [ -e /mingw/bin/mingw32-gcc ]
 then
    BIN_DIR=/mingw/bin
 else
-   echo "The GCC cross compiler isn\'t installed."
+   echo "The GCC cross compiler is not installed."
    echo "You must run build-win32-cross-tools first"
    exit 1
 fi