summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-03-30 13:26:13 +0100
committerFabian Groffen <grobian@gentoo.org>2024-03-30 13:26:28 +0100
commit00075c640010369a4cb9c5d6ae9dba37c7cc47fb (patch)
tree65247761a9b1ca96fc3b55d618db8ba23ac21efd /scripts/rsync-generation
parentscripts/bootstrap-prefix: shellcheck (diff)
downloadprefix-00075c640010369a4cb9c5d6ae9dba37c7cc47fb.tar.gz
prefix-00075c640010369a4cb9c5d6ae9dba37c7cc47fb.tar.bz2
prefix-00075c640010369a4cb9c5d6ae9dba37c7cc47fb.zip
scripts/bootstrap-prefix: shellcheck
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'scripts/rsync-generation')
-rwxr-xr-xscripts/rsync-generation/mksnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rsync-generation/mksnapshot.sh b/scripts/rsync-generation/mksnapshot.sh
index 1feece5577..f932102daa 100755
--- a/scripts/rsync-generation/mksnapshot.sh
+++ b/scripts/rsync-generation/mksnapshot.sh
@@ -54,7 +54,7 @@ COMPRS=(
# produce compressed variants, use as much cpu as left on the system, do
# all in parallel
for compr in "${COMPRS[@]}" ; do
- read -a args <<< "${compr#*:}"
+ read -r -a args <<< "${compr#*:}"
nice -n19 "${args[@]}" "${SNAME}" > "${SNAME}.${compr%%:*}" &
done
wait