From: Michael Tremer Date: Thu, 31 Oct 2019 18:23:51 +0000 (+0000) Subject: Try syncing even if nothing was built X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=555260fa3cd7a2dc8b18046d388fef06c423e80f;p=people%2Fms%2Fnightly-builds.git Try syncing even if nothing was built Signed-off-by: Michael Tremer --- 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