We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54981bf commit 06bdd32Copy full SHA for 06bdd32
unbricked/build_all.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/bin/sh
2
3
# Recursively check all subdirectories (excluding the current directory) for build.sh
4
find . -mindepth 1 -type d | while read -r dir; do
@@ -11,8 +11,10 @@ find . -mindepth 1 -type d | while read -r dir; do
11
echo "[SUCCESS] Build successful in: $dir"
12
else
13
echo "[FAILED] Build failed in: $dir"
14
+ exit 1
15
fi
16
17
echo "[FAILED] No build.sh found in: $dir"
18
19
20
done
0 commit comments