aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh4
-rwxr-xr-xscripts/auto-build/pd-extended-source-tarball.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 34df82c7..702d9cfe 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -105,7 +105,7 @@ upload_build ()
mingw*)
/c/cygwin/bin/sh -c \
"rsync --archive --no-links --copy-links --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}" && \
- md5sum ${archive} > ${archive}.md5 && \
+ md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \)/.*/|\1${archive}|" > ${archive}.md5 && \
/c/cygwin/bin/sh -c \
"rsync --archive --no-links --copy-links ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5" && \
echo "successfully uploaded: ${upload_filename}" && \
@@ -113,7 +113,7 @@ upload_build ()
;;
*)
rsync -a --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename} && \
- md5sum ${archive} > ${archive}.md5 && \
+ md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \)/.*/|\1${archive}|" > ${archive}.md5 && \
rsync -a ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5 && \
echo "successfully uploaded: ${upload_filename}" && \
echo SUCCESS
diff --git a/scripts/auto-build/pd-extended-source-tarball.sh b/scripts/auto-build/pd-extended-source-tarball.sh
index 8bb60c64..bd51fa96 100755
--- a/scripts/auto-build/pd-extended-source-tarball.sh
+++ b/scripts/auto-build/pd-extended-source-tarball.sh
@@ -20,7 +20,7 @@ upload_generated_file()
{
file=$1
rsync_file $file
- md5sum ${file} > ${file}.md5
+ md5sum ${file} | sed "s|^\([0-9a-f][0-9a-f]* \)/.*/|\1|" > ${file}.md5
rsync_file $file.md5
}