projects
/
gonvert
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing uploading to osc
[gonvert]
/
support
/
obs_upload.sh
diff --git
a/support/obs_upload.sh
b/support/obs_upload.sh
index
649f9f3
..
cc64d42
100755
(executable)
--- 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