aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-28 17:21:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-28 17:21:16 +0000
commitb6af7847ea2c3b21a76d28eda6b549509c3e061f (patch)
tree290bf0b8ae6c5b623f53d3b569ddee432172bafa
parenta291bc2ac33fe8f13923c8f371a218ca9a6ab174 (diff)
oops, upload source and debian tarballs as their own files instead of using the same filename
svn path=/trunk/; revision=16315
-rwxr-xr-xscripts/auto-build/pd-extended-source-tarball.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/auto-build/pd-extended-source-tarball.sh b/scripts/auto-build/pd-extended-source-tarball.sh
index 9a557bd6..7946973f 100755
--- a/scripts/auto-build/pd-extended-source-tarball.sh
+++ b/scripts/auto-build/pd-extended-source-tarball.sh
@@ -19,14 +19,15 @@ version=$(get_pd_version $auto_build_root_dir)
source=`ls -1 /tmp/Pd-extended*$version*-source.tar.bz2 | tail -1`
debian=`ls -1 /tmp/Pd-extended*$version*.debian.tar.bz2 | tail -1`
-upload_filename=$(basename $source)
-rsync -a --chmod=a+r ${source} rsync://blinky.at.or.at/upload/${DATE}/${upload_filename} && \
+source_upload=$(basename $source)
+debian_upload=$(basename $debian)
+rsync -a --chmod=a+r ${source} rsync://blinky.at.or.at/upload/${DATE}/${source_upload} && \
md5sum ${source} > ${source}.md5 && \
- rsync -a ${source}.md5 rsync://blinky.at.or.at/upload/${DATE}/${upload_filename}.md5 && \
- rsync -a --chmod=a+r ${debian} rsync://blinky.at.or.at/upload/${DATE}/${upload_filename} && \
+ rsync -a ${source}.md5 rsync://blinky.at.or.at/upload/${DATE}/${source_upload}.md5 && \
+ rsync -a --chmod=a+r ${debian} rsync://blinky.at.or.at/upload/${DATE}/${debian_upload} && \
md5sum ${debian} > ${debian}.md5 && \
- rsync -a ${debian}.md5 rsync://blinky.at.or.at/upload/${DATE}/${upload_filename}.md5 && \
+ rsync -a ${debian}.md5 rsync://blinky.at.or.at/upload/${DATE}/${debian_upload}.md5 && \
rm $source && rm $source.md5 && \
rm $debian && rm $debian.md5 && \
- echo "successfully uploaded: ${upload_filename}" && \
+ echo "successfully uploaded: ${source_upload} and ${debian_upload}" && \
echo SUCCESS