aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2019-01-06 14:38:13 -0600
committerBen Kohler <bkohler@gentoo.org>2019-01-06 14:38:13 -0600
commit3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6 (patch)
treefff0c8a1647023664313f4464ac41769197afbe6
parentsparc/installcd: switch to new 2017 cdtar (diff)
downloadreleng-3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6.tar.gz
releng-3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6.tar.bz2
releng-3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6.zip
catalyst-auto-sparc64.conf: only rsync in final post_build call
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rw-r--r--tools/catalyst-auto-sparc64.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/catalyst-auto-sparc64.conf b/tools/catalyst-auto-sparc64.conf
index e220c414..570a0566 100644
--- a/tools/catalyst-auto-sparc64.conf
+++ b/tools/catalyst-auto-sparc64.conf
@@ -48,6 +48,9 @@ update_symlinks() {
post_build() {
+ # We only want to do anything on the final (0 argument) post_build call
+ [ $# -eq 0 ] || return 0
+
mkdir -p ${TMPDIR}/empty
cmd=(
rsync