smarter home release generation script, fix syntax issue in version generation script
authorPat McIlroy <itgpmc@gmail.com>
Mon, 28 Feb 2011 06:37:39 +0000 (22:37 -0800)
committerPat McIlroy <itgpmc@gmail.com>
Mon, 28 Feb 2011 06:37:39 +0000 (22:37 -0800)
generate-home-release.sh
generate-version

index 43c4460..0a2e328 100755 (executable)
@@ -5,7 +5,7 @@ if [ "`which zip`x" = "x" ]; then
        echo "$0: zip command not found"
        exit
 fi
-if [ ! -d src/openitg ]; then
+if [ ! -f src/openitg ]; then
        echo "$0: where's the openitg binary?"
 fi
 (cd assets/d4 && zip -u -r ../../home-tmp.zip *)
@@ -15,6 +15,7 @@ zip -d home-tmp.zip 'Themes/ps2onpc/*'
 zip -d home-tmp.zip 'Themes/ps2/*'
 
 (cd assets/game-data && zip -r ../../home-tmp.zip *)
+(cd assets/patch-data/patch-dec && zip -r ../../../home-tmp.zip *)
 zip -d home-tmp.zip 'Cache/*'
 zip home-tmp.zip FAQ.txt ReleaseNotes.txt WhoToSue.txt
-(cd src && zip ../home-tmp.zip openitg)
+(cd src && zip ../home-tmp.zip openitg GtkModule.so)
index 89c2659..deb9977 100755 (executable)
@@ -3,7 +3,7 @@
 VF=version.txt
 CODE_VF=version.h
 
-if [[ -f $VF ]]; then
+if [ -f $VF ]; then
        echo "Using existing version file: "
        cat $VF;
        exit;