]> git.ipfire.org Git - people/ms/nightly-builds.git/blobdiff - build.sh
Build all branches in alphabetical order
[people/ms/nightly-builds.git] / build.sh
index 606778b225efc11718d5d770c2a9fb07b1e935a1..bf7a31e41f29b9bc5166d78f8e64203064ea859a 100755 (executable)
--- 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