Changeset 2818
- Timestamp:
- 05/17/05 12:16:16 (3 years ago)
- Files:
-
- Tuna/trunk/Tuna.xcode/project.pbxproj (modified) (1 diff)
- Tuna/trunk/version.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Tuna/trunk/Tuna.xcode/project.pbxproj
r2814 r2818 358 358 runOnlyForDeploymentPostprocessing = 0; 359 359 shellPath = /bin/sh; 360 shellScript = "#!/bin/sh\n\n #PATH=\"/usr/local/bin:$PATH\" perl version.pl\n\nexit 0";360 shellScript = "#!/bin/sh\n\nPATH=\"/usr/local/bin:$PATH\" perl version.pl\n\nexit 0"; 361 361 }; 362 362 //770 Tuna/trunk/version.pl
r2814 r2818 2 2 3 3 use strict; 4 5 die "$0: Must be run from Xcode" unless $ENV{BUILT_PRODUCTS_DIR}; 4 6 5 7 my $REV = `svn info | grep "^Revision:"`; … … 15 17 close(FH); 16 18 17 $info =~ s/([\t ]+<key>CFBundleVersion<\/key>\n[\t ]+<string>). +?(<\/string>)/$1$version$2/;19 $info =~ s/([\t ]+<key>CFBundleVersion<\/key>\n[\t ]+<string>).*?(<\/string>)/$1$version$2/; 18 20 19 21 open(FH, ">$INFO") or die "$0: $INFO: $!";
