projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8f0f7
)
Fix make_dmg a little.
author
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 23:12:27 +0000
(
00:12
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 23:12:27 +0000
(
00:12
+0100)
platform/osx/make_dmg.sh
patch
|
blob
|
history
diff --git
a/platform/osx/make_dmg.sh
b/platform/osx/make_dmg.sh
index f6fdae9c2131c893d2f1f37348049fa8f05ece06..3802348ecc17cba5fddb4c8368a434fd44ad2d1f 100644
(file)
--- a/
platform/osx/make_dmg.sh
+++ b/
platform/osx/make_dmg.sh
@@
-4,7
+4,8
@@
#
# e.g. make_dmg.sh /Users/carl/cdist
-set -e
+# Don't set -e here as egrep (used a few times) returns 1 if no matches
+# were found.
version=`cat wscript | egrep ^VERSION | awk '{print $3}' | sed -e "s/'//g"`
@@
-26,7
+27,6
@@
mkdir -p "$WORK/$libs"
mkdir -p "$WORK/$resources"
function universal_copy {
- echo $2
for f in $1/32/$2; do
if [ -h $f ]; then
ln -s $(readlink $f) "$3/`basename $f`"