diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-16 02:17:13 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-16 02:17:13 +0000 |
commit | 3dbf2f8ae9271b6ba6b2d1d1be2e0682bda3676a (patch) | |
tree | 7527c632cd7ff25d6c6bc7e9ab56e94dcbca7b4f /scripts | |
parent | e2bd8a8878b2ca9b889319d2dae3417322718ce7 (diff) |
fix md5 sed regex for binary packages
svn path=/trunk/; revision=16390
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/auto-build/pd-extended-auto-builder.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh index 702d9cfe..45138f75 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} | sed "s|^\([0-9a-f][0-9a-f]* \)/.*/|\1${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} | sed "s|^\([0-9a-f][0-9a-f]* \)/.*/|\1${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 |