From 555260fa3cd7a2dc8b18046d388fef06c423e80f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 31 Oct 2019 18:23:51 +0000 Subject: [PATCH] Try syncing even if nothing was built Signed-off-by: Michael Tremer --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index df0f519..a4e08af 100755 --- a/build.sh +++ b/build.sh @@ -135,7 +135,6 @@ unlock() { rm -f "${LOCKFILE}" } - # Don't start again if the script is already running # or if an other build script is running if is_locked || pgrep make.sh >/dev/null; then @@ -152,4 +151,7 @@ for repo in $(find ${BASEDIR} -maxdepth 3 -type d -name ".git"); do build "$(dirname ${repo})" done +# Try to sync even nothing was built for retrying failed uploads +sync + exit 0 -- 2.47.3