summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorTom Needham <06needhamt@gmail.com>2021-03-14 14:27:17 +0000
committerAndreas Kling <kling@serenityos.org>2021-03-15 09:07:17 +0100
commitdaf2e5d33559db761af8732f4db64ac778c50269 (patch)
tree0286fb84eecc2c350e0be42a0132d546a18930db /Ports
parent26d72d3048bac0552b3e513b85b8585acef3723e (diff)
downloadserenity-daf2e5d33559db761af8732f4db64ac778c50269.zip
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
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/build_all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/build_all.sh b/Ports/build_all.sh
index 9719dd7d48..3255b5f2df 100755
--- a/Ports/build_all.sh
+++ b/Ports/build_all.sh
@@ -39,14 +39,14 @@ for file in *; do
fi
fi
if [ "$verbose" == true ]; then
- if $(./package.sh); then
+ if ./package.sh; then
echo "Built ${dirname}."
else
echo "ERROR: Build of ${dirname} was not successful!"
some_failed=true
fi
else
- if $(./package.sh > /dev/null 2>&1); then
+ if ./package.sh > /dev/null 2>&1; then
echo "Built ${dirname}."
else
echo "ERROR: Build of ${dirname} was not successful!"