mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
Ports: Do not call ./package.sh from a subshell in ./build_all.sh
This patch ensures that ./package.sh is run in the same shell This solves compiling issues when building certain ports. This fix was suggested by linusg in https://github.com/SerenityOS/serenity/issues/5783#issuecomment-798906817
This commit is contained in:
parent
26d72d3048
commit
daf2e5d335
Notes:
sideshowbarker
2024-07-18 21:20:45 +09:00
Author: https://github.com/06needhamt
Commit: daf2e5d335
Pull-request: https://github.com/SerenityOS/serenity/pull/5782
Issue: https://github.com/SerenityOS/serenity/issues/5783
1 changed files with 2 additions and 2 deletions
|
@ -39,14 +39,14 @@ for file in *; do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$verbose" == true ]; then
|
if [ "$verbose" == true ]; then
|
||||||
if $(./package.sh); then
|
if ./package.sh; then
|
||||||
echo "Built ${dirname}."
|
echo "Built ${dirname}."
|
||||||
else
|
else
|
||||||
echo "ERROR: Build of ${dirname} was not successful!"
|
echo "ERROR: Build of ${dirname} was not successful!"
|
||||||
some_failed=true
|
some_failed=true
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if $(./package.sh > /dev/null 2>&1); then
|
if ./package.sh > /dev/null 2>&1; then
|
||||||
echo "Built ${dirname}."
|
echo "Built ${dirname}."
|
||||||
else
|
else
|
||||||
echo "ERROR: Build of ${dirname} was not successful!"
|
echo "ERROR: Build of ${dirname} was not successful!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue