Mercurial > hg > easyhg
comparison deploy/osx/deploy.sh @ 372:2d3f1e5d8638
OS/X build fixes, for now slightly simpler (conceptually) situation in which we have a single bundle with two Python extension distributions in it, one for each active Python version
author | Chris Cannam |
---|---|
date | Thu, 24 Mar 2011 13:15:49 +0000 |
parents | ce4d06d87a39 |
children | cd3dd285d0ff |
comparison
equal
deleted
inserted
replaced
371:f051d210521e | 372:2d3f1e5d8638 |
---|---|
11 echo "Usage: $0 <source.app> <target-dmg-basename>" | 11 echo "Usage: $0 <source.app> <target-dmg-basename>" |
12 exit 2 | 12 exit 2 |
13 fi | 13 fi |
14 app=EasyMercurial | 14 app=EasyMercurial |
15 | 15 |
16 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h` | 16 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' src/version.h` |
17 case "$version" in | 17 case "$version" in |
18 [0-9].[0-9]) bundleVersion="$version".0 ;; | 18 [0-9].[0-9]) bundleVersion="$version".0 ;; |
19 [0-9].[0-9].[0-9]) bundleVersion="$version" ;; | 19 [0-9].[0-9].[0-9]) bundleVersion="$version" ;; |
20 *) echo "Error: Version $version is neither two- nor three-part number" ;; | 20 *) echo "Error: Version $version is neither two- nor three-part number" ;; |
21 esac | 21 esac |