summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e607166)
raw | patch | inline | side by side (parent: e607166)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sun, 17 Feb 2008 22:51:00 +0000 (22:51 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sun, 17 Feb 2008 22:51:00 +0000 (22:51 +0000) |
- corrected syntax for the last test, to open the Finder window when a package or dmg is produced
packaging/macosx/osx-build.sh | patch | blob | history |
index 0356d413fa5b65530b32033759f28f0c976ba329..dfe365290c449debb75d54551ff361de179e5183 100755 (executable)
# Fetch some information
REVISION=`head -n 4 ../../.svn/entries | tail -n 1`
ARCH=`arch | tr [p,c] [P,C]`
-NEWNAME="Inkscape-$REVISION-$ARCH"
+MINORVERSION=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d \.`
+NEWNAME="Inkscape-$REVISION-10.$MINORVERSION-$ARCH"
DMGFILE="$NEWNAME.dmg"
INFOFILE="$NEWNAME-info.txt"
# Prepare information file
echo "Version information on $DATE for `whoami`:
- OS X `/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d \:`
+ OS X `/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d \:`
Architecture $ARCH
DarwinPorts `port version | cut -f2 -d \ `
GCC `gcc --version | grep GCC`
fi
fi
-if [[ "$PACKAGE" == "t" ]] | [[ "$DISTRIB" == "t" ]]; then
+if [[ "$PACKAGE" == "t" || "$DISTRIB" == "t" ]]; then
# open a Finder window here to admire what we just produced
open .
fi