Updated the snapshot script for use on the website
authorSam Lantinga <slouken@libsdl.org>
Sun, 04 Jan 2009 06:32:01 +0000
changeset 2986 bb773ff79106
parent 2985 4e4d814884aa
child 2987 5b8865f87df1
Updated the snapshot script for use on the website
build-scripts/snapshot.sh
--- a/build-scripts/snapshot.sh	Sun Jan 04 05:52:14 2009 +0000
+++ b/build-scripts/snapshot.sh	Sun Jan 04 06:32:01 2009 +0000
@@ -2,7 +2,8 @@
 #
 # Generate a current snapshot from source control
 
-svn co http://svn.libsdl.org/trunk/SDL
+echo "Checking out source"
+svn co -q http://svn.libsdl.org/trunk/SDL
 (cd SDL && ./autogen.sh && rm -rf autom4te.cache)
 sh SDL/build-scripts/updaterev.sh
 cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h
@@ -18,7 +19,15 @@
 path="SDL-$major.$minor.$patch-$rev"
 
 mv SDL $path
+echo $path.tar.gz
 tar zcf $path.tar.gz $path
+echo $path.zip
 rm -f $path.zip
-zip -r $path.zip $path
+zip -rq $path.zip $path
 rm -rf $path
+
+#ln -sf $path.tar.gz SDL-1.3.tar.gz
+#ln -sf $path.zip SDL-1.3.zip
+#date=`date +"%a %b %e"`
+#sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../svn.php.new
+#mv ../svn.php.new ../svn.php