Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bb51ee6
)
And same fixes on Mac also..
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 29 Dec 2013 19:47:38 +0000
(21:47 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 29 Dec 2013 19:47:38 +0000
(21:47 +0200)
tools/make_mac_package.sh
patch
|
blob
|
history
diff --git
a/tools/make_mac_package.sh
b/tools/make_mac_package.sh
index
9e78910
..
21cd170
100755
(executable)
--- 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