13
0

Update compile.sh

cd in line 4 would not work if path has blank as it would have two arguments
./compile.sh: line 4: cd: too many arguments
This commit is contained in:
Tiefseetauchner 2021-04-21 20:37:06 +02:00 committed by Paul Davis
parent e2a28ec776
commit 720a7eed77

View File

@ -2,7 +2,7 @@
# we assuem this script is <ardour-src>/tools/x-win/compile.sh # we assuem this script is <ardour-src>/tools/x-win/compile.sh
pushd "`/usr/bin/dirname \"$0\"`" > /dev/null; this_script_dir="`pwd`"; popd > /dev/null pushd "`/usr/bin/dirname \"$0\"`" > /dev/null; this_script_dir="`pwd`"; popd > /dev/null
cd $this_script_dir/../.. cd "$this_script_dir/../.."
test -f gtk2_ardour/wscript || exit 1 test -f gtk2_ardour/wscript || exit 1
: ${XARCH=i686} # or x86_64 : ${XARCH=i686} # or x86_64