From 3eb7bc30bc85acf9ff9ecbc832a35c68e3a75bb6 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Sun, 6 Jan 2019 14:38:13 -0600 Subject: [PATCH] catalyst-auto-sparc64.conf: only rsync in final post_build call Signed-off-by: Ben Kohler --- 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