This commit is contained in:
mr
2025-03-28 13:24:06 +01:00
parent 16eb38ca06
commit 8487b3c43d
6 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ find .. -mindepth 2 -maxdepth 2 -name 'Makefile' | while read -r makefile; do
dir=$(dirname "$makefile")
echo "Running 'make $TARGET' in $dir"
(
cd "$dir" && make "$TARGET"
cd "$dir" && export HOST="${2:-http://beta.opencloud.com/}" && make "$TARGET"
)
if [ $? -ne 0 ]; then
echo "Error: make $TARGET failed in $dir"