[rkward-cvs] SF.net SVN: rkward:[3202] trunk/rkward/scripts/makeppa_upload.sh

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Nov 21 12:00:26 UTC 2010


Revision: 3202
          http://rkward.svn.sourceforge.net/rkward/?rev=3202&view=rev
Author:   tfry
Date:     2010-11-21 12:00:26 +0000 (Sun, 21 Nov 2010)

Log Message:
-----------
Don't re-create tar.gz when uploading to the 'rkward-stable' PPA

Modified Paths:
--------------
    trunk/rkward/scripts/makeppa_upload.sh

Modified: trunk/rkward/scripts/makeppa_upload.sh
===================================================================
--- trunk/rkward/scripts/makeppa_upload.sh	2010-11-21 11:42:54 UTC (rev 3201)
+++ trunk/rkward/scripts/makeppa_upload.sh	2010-11-21 12:00:26 UTC (rev 3202)
@@ -3,24 +3,27 @@
 ## begin: These may need adjusting!
 TARGETS="natty maverick lucid karmic jaunty"
 AUTHOR="Thomas Friedrichsmeier <tfry at users.sourceforge.net>"
+## end: These may need adjusting!
+
+cd `dirname $0`/..
+BASEDIR=`pwd`
+PPATEMPDIR=$BASEDIR/ppatemp
+mkdir $PPATEMPDIR
+
 if [ ${1} = "--stable" ]; then
 	shift
 	PPAID="rkward-stable"
 	PPAVERSIONSTRING=".1rkward.stable"
+	# do not re-create tarball
+	VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
 else
 	PPAID="rkward-devel"
 	PPAVERSIONSTRING=".0rkward.devel"
+	# first create source snapshot
+	VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
+	${BASEDIR}/scripts/makedist.sh $VERSION
 fi
-## end: These may need adjusting!
 
-cd `dirname $0`/..
-BASEDIR=`pwd`
-VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
-PPATEMPDIR=$BASEDIR/ppatemp
-mkdir $PPATEMPDIR
-
-# first create source snapshot
-${BASEDIR}/scripts/makedist.sh $VERSION
 cp ${BASEDIR}/rkward-$VERSION.tar.gz $PPATEMPDIR/rkward_$VERSION.orig.tar.gz
 
 function doSourceUpload {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list