From: Michael Tremer Date: Thu, 6 Feb 2020 21:06:53 +0000 (+0000) Subject: build.sh: Create atomic copy operations and compress using zlib X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33e0dd1c9060d9de2425fd113ee4da15747ed3a5;p=people%2Fms%2Fnightly-builds.git build.sh: Create atomic copy operations and compress using zlib Signed-off-by: Michael Tremer --- diff --git a/build.sh b/build.sh index a4e08af..569037b 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ LOCKFILE="/tmp/.nightly-builds.lock" UPLOAD_DIR="${BASEDIR}/upload" UPLOAD_TO="pakfire@fs01.haj.ipfire.org:/pub/nightly" -RSYNC_ARGS="" +RSYNC_ARGS=( "--delay-updates" ) extract_installer_from_iso() { local dir="${1}" @@ -119,7 +119,7 @@ sync() { kinit -k -t /etc/krb5.keytab "host/${HOSTNAME}" fi - rsync -avHz --progress ${RSYNC_ARGS} \ + rsync -avHzz --progress "${RSYNC_ARGS[@]}" \ "${UPLOAD_DIR}/" "${UPLOAD_TO}" }