aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2018-11-21 10:55:01 -0800
committerMatt Turner <mattst88@gentoo.org>2018-11-21 10:55:01 -0800
commite4b4bf10d87e1a804d5407d56128e5b42982ebdc (patch)
tree403aaf716a29a8c563171925a0f65d681543ca58
parentfixup! scripts/copy_buildsync: shellcheck pass (diff)
downloadreleng-bug-670458.tar.gz
releng-bug-670458.tar.bz2
releng-bug-670458.zip
fixup! scripts/copy_buildsync: shellcheck passbug-670458
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rwxr-xr-xscripts/copy_buildsync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index 4e486bf3..5e4046c4 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -185,7 +185,7 @@ process_arch() {
keepfile="${tmpdir}/.keep.${ARCH}.txt"
keepfile_tmp=$(mktemp -p "${tmpdir}" -t ".keep.${ARCH}.txt.XXXXXX")
echo -n '' >"${keepfile_tmp}"
- chmod 644 "${keepfile}"
+ chmod 644 "${keepfile_tmp}"
for v in $variants ; do
# FIXME: trace the $a variable in this!
variant_path=$(find 20* -iname "${v}-20*" "${find_variants[@]}" -print 2>/dev/null | sed -e "s,.*/$a/autobuilds/,,g" | sort -k1,1 -t/ | tail -n1 )