]> git.ipfire.org Git - people/ms/nightly-builds.git/commitdiff
Try syncing even if nothing was built
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 31 Oct 2019 18:23:51 +0000 (18:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 31 Oct 2019 18:23:51 +0000 (18:23 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
build.sh

index df0f5194d34a28d71165d60c12ef5dd9951a8428..a4e08afea31f24ef258a1a9e6ab7f6cfb4fee764 100755 (executable)
--- 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