contrib/oot.sh: do not error if no makefile
authorJean Privat <jean@pryen.org>
Fri, 11 May 2018 15:11:54 +0000 (11:11 -0400)
committerJean Privat <jean@pryen.org>
Fri, 11 May 2018 15:12:16 +0000 (11:12 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/oot.sh

index 80c9aa7..c9b7a67 100755 (executable)
@@ -32,6 +32,10 @@ update_oot() {
 # Run trymake with arguments
 trymake_oot() {
        echo "$name: trymake $@"
+       if [ ! -f "$dir/Makefile" ]; then
+               echo "no makefile"
+               return
+       fi
        ../misc/jenkins/trymake.sh "$name" "$dir" "$@"
 }