[Mapbender-commits] r2403 - trunk/build
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Apr 21 11:03:04 EDT 2008
Author: christoph
Date: 2008-04-21 11:03:04 -0400 (Mon, 21 Apr 2008)
New Revision: 2403
Modified:
trunk/build/build.sh
Log:
some minor refactoring
Modified: trunk/build/build.sh
===================================================================
--- trunk/build/build.sh 2008-04-21 14:55:09 UTC (rev 2402)
+++ trunk/build/build.sh 2008-04-21 15:03:04 UTC (rev 2403)
@@ -94,12 +94,15 @@
# move tools folder out of http
echo "moving folder 'tools'..."
-mv -R $FOLDER/http/tools $FOLDER/
+mv $FOLDER/http/tools $FOLDER/
+# rename folder
+mv $FOLDER mapbender_$1
+
# zip build folder
echo "creating zip file ..."
-ZIP_FILENAME="mapbender_$1_$TODAY.zip"
-zip -rq $ZIP_FILENAME $FOLDER/*
+ZIP_FILENAME="mapbender_$1.zip"
+zip -rq $ZIP_FILENAME mapbender_$1/*
# remove build folder
-rm -rf $FOLDER 2>/dev/null
\ No newline at end of file
+rm -rf mapbender_$1 2>/dev/null
\ No newline at end of file
More information about the Mapbender_commits
mailing list