From b6af7847ea2c3b21a76d28eda6b549509c3e061f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 28 Sep 2012 17:21:16 +0000 Subject: oops, upload source and debian tarballs as their own files instead of using the same filename svn path=/trunk/; revision=16315 --- scripts/auto-build/pd-extended-source-tarball.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'scripts/auto-build') 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 -- cgit v1.2.1