Fixing uploading to osc
authorEd Page <eopage@byu.net>
Fri, 12 Aug 2011 01:37:26 +0000 (20:37 -0500)
committerEd Page <eopage@byu.net>
Fri, 12 Aug 2011 01:37:26 +0000 (20:37 -0500)
gonvert/constants.py
support/obs_upload.sh

index 7c9765c..b151acb 100644 (file)
@@ -1,7 +1,7 @@
 __pretty_app_name__ = "Gonvert"
 __app_name__ = "gonvert"
 __version__ = "1.1.5"
-__build__ = 0
+__build__ = 1
 __app_magic__ = 0xdeadbeef
 
 PROFILE_STARTUP = False
index 649f9f3..cc64d42 100755 (executable)
@@ -1,3 +1,7 @@
+# Doing the pushd as a test of directory movement to try to be safer with the "rm"
+pushd ../../osc/home:epage:$2/$1 && rm $1_*.dsc $1_*.tar.gz
+popd
+
 cp $3/$1_*.dsc $3/$1_*.tar.gz  ../../osc/home:epage:$2/$1
 
 pushd ../../osc/home:epage:$2/$1