summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-04-02 19:30:53 +0200
committerFabian Groffen <grobian@gentoo.org>2024-04-02 19:31:16 +0200
commit643ab6c4370c2d3f79a4828b45ad7bb68c8fce01 (patch)
treef48cae733159c8acf6c13a2603f8320256b8464e
parentscripts/rsync-generation/mksnapshot: disable all but bz2 snapshots (diff)
downloadprefix-643ab6c4370c2d3f79a4828b45ad7bb68c8fce01.tar.gz
prefix-643ab6c4370c2d3f79a4828b45ad7bb68c8fce01.tar.bz2
prefix-643ab6c4370c2d3f79a4828b45ad7bb68c8fce01.zip
scripts/auto-bootstraps/process_uploads: allow processing of temp files too
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/auto-bootstraps/process_uploads.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/auto-bootstraps/process_uploads.sh b/scripts/auto-bootstraps/process_uploads.sh
index 8a71d296a4..8e51f7c992 100755
--- a/scripts/auto-bootstraps/process_uploads.sh
+++ b/scripts/auto-bootstraps/process_uploads.sh
@@ -62,8 +62,10 @@ for d in "${UPLOADDIR}"/* ; do
mkdir -p "${RESULTSDIR}/${w}"
[[ -e "${pkg}"/build-info ]] && \
mv "${pkg}"/build-info "${RESULTSDIR}/${w}"/
- [[ -e "${pkg}"/temp ]] && \
+ if [[ -e "${pkg}"/temp ]] ; then
mv "${pkg}"/temp "${RESULTSDIR}/${w}"/
+ process_file "${RESULTSDIR}/${w}"/temp
+ fi
done
fi
chmod -R o+rX,go-w "${RESULTSDIR}/${dir}"