]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/build-depkgs-mingw-w64
Fix class member shadowing.
[bacula/bacula] / bacula / src / win32 / build-depkgs-mingw-w64
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