From: Kern Sibbald Date: Sun, 16 Oct 2011 12:54:03 +0000 (+0200) Subject: Fix small things in Windows depkgs build scripts X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bfe5ed22e246a2b831060bfa9487656c0b816dcd;p=bacula%2Fbacula Fix small things in Windows depkgs build scripts --- diff --git a/bacula/src/win32/build-depkgs-mingw-w64 b/bacula/src/win32/build-depkgs-mingw-w64 index ef15d80ed3..2c965e4a72 100755 --- a/bacula/src/win32/build-depkgs-mingw-w64 +++ b/bacula/src/win32/build-depkgs-mingw-w64 @@ -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 diff --git a/bacula/src/win32/build-depkgs-mingw32 b/bacula/src/win32/build-depkgs-mingw32 index 041bb5ff33..800396d8b0 100755 --- a/bacula/src/win32/build-depkgs-mingw32 +++ b/bacula/src/win32/build-depkgs-mingw32 @@ -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