From bfe5ed22e246a2b831060bfa9487656c0b816dcd Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 16 Oct 2011 14:54:03 +0200 Subject: [PATCH] Fix small things in Windows depkgs build scripts --- bacula/src/win32/build-depkgs-mingw-w64 | 3 ++- bacula/src/win32/build-depkgs-mingw32 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5