diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-04-03 12:26:29 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-03 12:32:00 +0100 |
commit | 4c9fbea987a278e2a223be20cd88581fd3b7f3bd (patch) | |
tree | d94b2570702a7c9e36aa810272679fad10d9e294 /Ports/.port_include.sh | |
parent | 8070a982887be775ee657798452248ce42506d21 (diff) | |
download | serenity-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-x | Ports/.port_include.sh | 2 |
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 } |