Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update changelog for 0.2.8
[apps/agl-service-can-low-level.git]
/
tools
/
make_mac_package.sh
diff --git
a/tools/make_mac_package.sh
b/tools/make_mac_package.sh
index
c5a956d
..
21cd170
100755
(executable)
--- a/
tools/make_mac_package.sh
+++ b/
tools/make_mac_package.sh
@@
-37,13
+37,13
@@
LIBPROTOBUF=$(otool -L `which protoc` | grep -o '/.*libprotobuf[^ ]*')
cp $LIBPROTOC $LIBPROTOBUF $DEST/generator-bin/
cat > $DEST/generator-bin/protoc << EOF
#!/bin/bash
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
export DYLD_LIBRARY_PATH=\$SCRIPTDIR
export PATH=\$SCRIPTDIR:\$PATH
-exec
\$SCRIPTDIR/protoc.bin
"\$@"
+exec
"\$SCRIPTDIR/protoc.bin"
"\$@"
EOF
chmod +x $DEST/generator-bin/protoc
# Tar it all up
EOF
chmod +x $DEST/generator-bin/protoc
# Tar it all up
-( cd dist;
tar -czf $VERSION.tgz
$VERSION )
+( cd dist;
zip -r $VERSION.zip
$VERSION )