diff options
Diffstat (limited to 'scripts/auto-build')
-rwxr-xr-x | scripts/auto-build/pd-extended-source-tarball.sh | 13 |
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 |