From 7e4aee8cc6177113339e41a3ac828952e7343141 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 29 Sep 2017 10:31:13 +0200 Subject: [PATCH] Quote COMPONENT computation in static-mirror-run --- modules/roles/files/static-mirroring/static-mirror-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/files/static-mirroring/static-mirror-run b/modules/roles/files/static-mirroring/static-mirror-run index 45d73458b..eac646bb3 100755 --- a/modules/roles/files/static-mirroring/static-mirror-run +++ b/modules/roles/files/static-mirroring/static-mirror-run @@ -62,7 +62,7 @@ SYNC_SOURCE=${1:-}; shift SYNC_SERIAL=${1:-}; shift || true if [ -z "$COMPONENTDIR" ]; then usage >&2; exit 1; fi if [ -z "$SYNC_SOURCE" ]; then usage >&2; exit 1; fi -COMPONENT=$(basename ${COMPONENTDIR}) +COMPONENT="$(basename "${COMPONENTDIR}")" RSYNC="rsync" RSYNC_BASE_OPTIONS="-rtvz --delete --links --hard-links --safe-links" -- 2.20.1