From: Michael Tremer Date: Thu, 23 Apr 2020 18:11:38 +0000 (+0000) Subject: Build all branches in alphabetical order X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51ab69f5d9936d6f3dd92b4175334e819207ac2f;p=people%2Fms%2Fnightly-builds.git Build all branches in alphabetical order Signed-off-by: Michael Tremer --- diff --git a/build.sh b/build.sh index 606778b..bf7a31e 100755 --- a/build.sh +++ b/build.sh @@ -209,10 +209,10 @@ fi trap unlock EXIT lock -for repo in $(find ${BASEDIR} -maxdepth 3 -type d -name ".git"); do - [ -d "${repo}" ] || continue +for repo in ${BASEDIR}/*; do + [ -d "${repo}/.git" ] || continue - build "$(dirname ${repo})" + echo build "${repo}" done # Try to sync even nothing was built for retrying failed uploads