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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Mar 20 11:15:16 UTC 2011


Revision: 3481
          http://rkward.svn.sourceforge.net/rkward/?rev=3481&view=rev
Author:   tfry
Date:     2011-03-20 11:15:16 +0000 (Sun, 20 Mar 2011)

Log Message:
-----------
Fix and update to PPA upload script

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

Modified: trunk/rkward/scripts/makeppa_upload.sh
===================================================================
--- trunk/rkward/scripts/makeppa_upload.sh	2011-03-20 10:57:55 UTC (rev 3480)
+++ trunk/rkward/scripts/makeppa_upload.sh	2011-03-20 11:15:16 UTC (rev 3481)
@@ -10,17 +10,17 @@
 PPATEMPDIR=$BASEDIR/ppatemp
 mkdir $PPATEMPDIR
 
-if [ ${1} = "--stable" ]; then
+if [ "${1}" == "--stable" ]; then
 	shift
-	PPAIDS="rkward-stable"
+	PPAIDS="rkward-stable rkward-stable-cran"
 	PPAVERSIONSTRING=".1rkward.stable"
 	# do not re-create tarball
-	VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
+	VERSION=`${BASEDIR}/scripts/getversion.sh ${2}`
 else
 	PPAIDS="rkward-devel rkward-devel-cran"
 	PPAVERSIONSTRING=".0rkward.devel"
 	# first create source snapshot
-	VERSION=`${BASEDIR}/scripts/getversion.sh ${1}`
+	VERSION=`${BASEDIR}/scripts/getversion.sh ${2}`
 	${BASEDIR}/scripts/makedist.sh $VERSION
 fi
 
@@ -53,7 +53,7 @@
 
 	# build source package
 	cd $PPASOURCEDIR
-	dpkg-buildpackage -S
+	dpkg-buildpackage -S -sa
 
 	# upload
 	cd $PPATEMPDIR


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