build-system: corrected -build-deps problem

Missed a "cd $SRC" so when building with
-build-deps the script broke

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-20 09:52:26 +02:00 committed by Dirk Hohndel
parent d8227c4a70
commit aab33694f2

View file

@ -222,7 +222,7 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
# when building distributable binaries on a Mac, we cannot rely on anything from Homebrew,
# because that always requires the latest OS (how stupid is that - and they consider it a
# feature). So we painfully need to build the dependencies ourselves.
cd $SRC
./subsurface/scripts/get-dep-lib.sh single . libzip
pushd libzip
mkdir -p build