Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/releng:bug-670458 commit in: scripts/
Date: Wed, 21 Nov 2018 18:38:48
Message-Id: 1542825513.e8239f85698902e17d9774c01a0075d855c64d75.mattst88@gentoo
1 commit: e8239f85698902e17d9774c01a0075d855c64d75
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 18:38:04 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 18:38:33 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=e8239f85
7
8 fixup! scripts/copy_buildsync: shellcheck pass
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 scripts/copy_buildsync.sh | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
16 index 26ac58dc..4e486bf3 100755
17 --- a/scripts/copy_buildsync.sh
18 +++ b/scripts/copy_buildsync.sh
19 @@ -102,7 +102,7 @@ copy_arch_to_outgoing() {
20 \( -not -path '*/\.*' \) \
21 -print0 \
22 | xargs -0 --no-run-if-empty \
23 - "$DEBUGP" rm "$VERBOSEP" -f
24 + $DEBUGP rm $VERBOSEP -f
25 else
26 echo "Not deleting ${indir}/*${i}*, rsync failed!" 1>&2
27 fail=1
28 @@ -221,10 +221,10 @@ process_arch() {
29 | grep -E -v -f "${keepfile}" \
30 | tail -n +5); do
31
32 - "$DEBUGP" rm "$VERBOSEP" -rf "$(pwd)"/"${i}"
33 + $DEBUGP rm $VERBOSEP -rf "$(pwd)"/"${i}"
34 done
35
36 - "$DEBUGP" rm "$VERBOSEP" -rf "${tmpdir}"
37 + $DEBUGP rm $VERBOSEP -rf "${tmpdir}"
38
39 else
40 echo "There was some failure for $ARCH during the weekly sync. Not doing cleanup for fear of dataloss." 1>&2