aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pd-devel-auto-builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/auto-build/pd-devel-auto-builder.sh')
-rwxr-xr-xscripts/auto-build/pd-devel-auto-builder.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh
index cf8a0909..c3e5fc8b 100755
--- a/scripts/auto-build/pd-devel-auto-builder.sh
+++ b/scripts/auto-build/pd-devel-auto-builder.sh
@@ -45,10 +45,10 @@ echo "root: $auto_build_root_dir"
case $SYSTEM in
mingw*)
/c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links --delete rsync://128.238.56.50/distros/pd-devel/ ${auto_build_root_dir}/"
+ "rsync --archive --no-links --copy-links --delete rsync://${RSYNC_SERVER}/distros/pd-devel/ ${auto_build_root_dir}/"
;;
*)
- rsync -a --delete rsync://128.238.56.50/distros/pd-devel/ ${auto_build_root_dir}/
+ rsync -a --delete rsync://${RSYNC_SERVER}/distros/pd-devel/ ${auto_build_root_dir}/
;;
esac
@@ -77,17 +77,17 @@ upload_build ()
case $SYSTEM in
mingw*)
/c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links --chmod=a+r ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ "rsync --archive --no-links --copy-links --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}" && \
md5sum ${archive} > ${archive}.md5 && \
/c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5" && \
+ "rsync --archive --no-links --copy-links ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5" && \
echo "successfully uploaded: ${upload_filename}" && \
echo SUCCESS
;;
*)
- rsync -a --chmod=a+r ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ rsync -a --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename} && \
md5sum ${archive} > ${archive}.md5 && \
- rsync -a ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5 && \
+ rsync -a ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5 && \
echo "successfully uploaded: ${upload_filename}" && \
echo SUCCESS
;;