summaryrefslogtreecommitdiff
path: root/Ports/.port_include.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-04-03 12:26:29 +0200
committerLinus Groh <mail@linusgroh.de>2022-04-03 12:32:00 +0100
commit4c9fbea987a278e2a223be20cd88581fd3b7f3bd (patch)
treed94b2570702a7c9e36aa810272679fad10d9e294 /Ports/.port_include.sh
parent8070a982887be775ee657798452248ce42506d21 (diff)
downloadserenity-4c9fbea987a278e2a223be20cd88581fd3b7f3bd.zip
Revert "Ports: Fix dependency install if port name is not folder name"
This breaks ports whose name may come up in more than one port name. This reverts commit cc08f82ddb104829112c7c5fe028f2e7dd9aaee1.
Diffstat (limited to 'Ports/.port_include.sh')
-rwxr-xr-xPorts/.port_include.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh
index e61a2bb5ad..8248485e9d 100755
--- a/Ports/.port_include.sh
+++ b/Ports/.port_include.sh
@@ -491,7 +491,7 @@ package_install_state() {
installdepends() {
for depend in "${depends[@]}"; do
if [ -z "$(package_install_state $depend)" ]; then
- (cd "$(dirname $(grep -E port=${depend} ../*/package.sh))" && ./package.sh --auto)
+ (cd "../$depend" && ./package.sh --auto)
fi
done
}