Rev 2273 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!/bin/shecho `pwd`SVNREV=`sed -n 's/.*revision="\(.*\)".*/\1/p' .svn/entries`echo "Revision: $SVNREV"if [ -z "$SVNREV" ]; thenecho "Cannot determine SVN revision."exit 1fiif [ ! -e English.lproj/InfoPlist.src.strings ]; thenecho "Cannot find English.lproj/InfoPlist.src.strings"exit 2;fiif [ ! -e Info.src.plist ]; thenecho "Cannot find Info.src.plist"exit 3;fised "s/%SVN%/$SVNREV/g" English.lproj/InfoPlist.src.strings > English.lproj/InfoPlist.stringssed "s/%SVN%/$SVNREV/g" Info.src.plist > Info.plist