Fixing uploading to osc
[gonvert] / support / obs_upload.sh
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