commit:     3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  6 20:38:13 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sun Jan  6 20:38:13 2019 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=3eb7bc30

catalyst-auto-sparc64.conf: only rsync in final post_build call

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 tools/catalyst-auto-sparc64.conf | 3 +++
 1 file changed, 3 insertions(+)

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

Reply via email to