projects
/
ejpi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f483c
)
Fixing upload support
author
Ed Page
<eopage@byu.net>
Fri, 12 Aug 2011 01:39:59 +0000
(20:39 -0500)
committer
Ed Page
<eopage@byu.net>
Fri, 12 Aug 2011 01:39:59 +0000
(20:39 -0500)
support/obs_upload.sh
patch
|
blob
|
history
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