From 585cd0356ee1ef3c48cf958c307de7dc651123a3 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 29 Dec 2013 21:47:38 +0200 Subject: And same fixes on Mac also.. --- tools/make_mac_package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/make_mac_package.sh') diff --git a/tools/make_mac_package.sh b/tools/make_mac_package.sh index 9e78910e..21cd170d 100755 --- a/tools/make_mac_package.sh +++ b/tools/make_mac_package.sh @@ -37,10 +37,10 @@ LIBPROTOBUF=$(otool -L `which protoc` | grep -o '/.*libprotobuf[^ ]*') cp $LIBPROTOC $LIBPROTOBUF $DEST/generator-bin/ cat > $DEST/generator-bin/protoc << EOF #!/bin/bash -SCRIPTDIR=\$(cd \$(dirname \$0); pwd) +SCRIPTDIR=\$(dirname "\$0") export DYLD_LIBRARY_PATH=\$SCRIPTDIR export PATH=\$SCRIPTDIR:\$PATH -exec \$SCRIPTDIR/protoc.bin "\$@" +exec "\$SCRIPTDIR/protoc.bin" "\$@" EOF chmod +x $DEST/generator-bin/protoc -- cgit 1.2.3-korg