aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/auto-build')
-rw-r--r--scripts/auto-build/pd-devel-auto-builder.sh2
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh12
-rwxr-xr-xscripts/auto-build/pd-main-auto-builder.sh3
3 files changed, 10 insertions, 7 deletions
diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh
index 4734098e..daa32fd1 100644
--- a/scripts/auto-build/pd-devel-auto-builder.sh
+++ b/scripts/auto-build/pd-devel-auto-builder.sh
@@ -2,3 +2,5 @@
echo "This currently does nothing, but it could..."
+# if the below word prints, the status report email is not sent
+echo SUCCESS
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 8a5746a2..5d918e98 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -39,13 +39,13 @@ upload_build ()
platform_folder=$1
build_folder=$2
archive_format=$3
+
+ archive="${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format}"
- echo "Uploading $1 $2 $3"
-# upload files to webpage
- echo ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format}
- test -e ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} && \
- rsync -a ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} \
- rsync://128.238.56.50/upload/${DATE}/`ls -1 ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"`
+ echo "upload specs $1 $2 $3"
+ echo "Uploading $archive"
+ test -e ${archive} && rsync -a ${archive} \
+ rsync://128.238.56.50/upload/${DATE}/`ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"` && echo SUCCESS
}
if [ "$SYSTEM" == "Linux" ]; then
diff --git a/scripts/auto-build/pd-main-auto-builder.sh b/scripts/auto-build/pd-main-auto-builder.sh
index a5ec0645..d964201e 100755
--- a/scripts/auto-build/pd-main-auto-builder.sh
+++ b/scripts/auto-build/pd-main-auto-builder.sh
@@ -43,6 +43,7 @@ cd ${auto_build_root_dir}/pd/src && \
make && \
cd ../../ && \
tar cjf $package_name pd && \
- rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/
+ rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ && \
+ echo SUCCESS
rm -f -- $package_name