mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Ports: Don't add ports to the "built" list unless successful
This commit is contained in:
parent
85db9aac49
commit
b220b45c5e
Notes:
sideshowbarker
2024-07-18 01:27:40 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/b220b45c5e4 Pull-request: https://github.com/SerenityOS/serenity/pull/10809
1 changed files with 6 additions and 1 deletions
|
@ -49,7 +49,6 @@ for file in *; do
|
|||
popd > /dev/null
|
||||
continue
|
||||
fi
|
||||
built_ports="$built_ports $port $(./package.sh showproperty depends) "
|
||||
|
||||
if [ "$clean" == true ]; then
|
||||
if [ "$verbose" == true ]; then
|
||||
|
@ -64,6 +63,8 @@ for file in *; do
|
|||
else
|
||||
echo "ERROR: Build of ${port} was not successful!"
|
||||
some_failed=true
|
||||
popd > /dev/null
|
||||
continue
|
||||
fi
|
||||
else
|
||||
if ./package.sh > /dev/null 2>&1; then
|
||||
|
@ -71,8 +72,12 @@ for file in *; do
|
|||
else
|
||||
echo "ERROR: Build of ${port} was not successful!"
|
||||
some_failed=true
|
||||
popd > /dev/null
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
|
||||
built_ports="$built_ports $port $(./package.sh showproperty depends) "
|
||||
popd > /dev/null
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue