aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2018-11-21 10:38:04 -0800
committerMatt Turner <mattst88@gentoo.org>2018-11-21 10:38:33 -0800
commite8239f85698902e17d9774c01a0075d855c64d75 (patch)
tree5ba3a48f25db99ba49f1ac739fae230c9b7a6afa
parentscripts/copy_buildsync: shellcheck pass (diff)
downloadreleng-e8239f85698902e17d9774c01a0075d855c64d75.tar.gz
releng-e8239f85698902e17d9774c01a0075d855c64d75.tar.bz2
releng-e8239f85698902e17d9774c01a0075d855c64d75.zip
fixup! scripts/copy_buildsync: shellcheck pass
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rwxr-xr-xscripts/copy_buildsync.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index 26ac58dc..4e486bf3 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -102,7 +102,7 @@ copy_arch_to_outgoing() {
\( -not -path '*/\.*' \) \
-print0 \
| xargs -0 --no-run-if-empty \
- "$DEBUGP" rm "$VERBOSEP" -f
+ $DEBUGP rm $VERBOSEP -f
else
echo "Not deleting ${indir}/*${i}*, rsync failed!" 1>&2
fail=1
@@ -221,10 +221,10 @@ process_arch() {
| grep -E -v -f "${keepfile}" \
| tail -n +5); do
- "$DEBUGP" rm "$VERBOSEP" -rf "$(pwd)"/"${i}"
+ $DEBUGP rm $VERBOSEP -rf "$(pwd)"/"${i}"
done
- "$DEBUGP" rm "$VERBOSEP" -rf "${tmpdir}"
+ $DEBUGP rm $VERBOSEP -rf "${tmpdir}"
else
echo "There was some failure for $ARCH during the weekly sync. Not doing cleanup for fear of dataloss." 1>&2