From e7621365af12f356cc99086a2486b4c86365aae4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 11 Aug 2011 20:37:26 -0500 Subject: [PATCH] Fixing uploading to osc --- gonvert/constants.py | 2 +- support/obs_upload.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gonvert/constants.py b/gonvert/constants.py index 7c9765c..b151acb 100644 --- a/gonvert/constants.py +++ b/gonvert/constants.py @@ -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 diff --git a/support/obs_upload.sh b/support/obs_upload.sh index 649f9f3..cc64d42 100755 --- a/support/obs_upload.sh +++ b/support/obs_upload.sh @@ -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 -- 1.7.9.5