From 4c9fbea987a278e2a223be20cd88581fd3b7f3bd Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sun, 3 Apr 2022 12:26:29 +0200 Subject: [PATCH] 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. --- Ports/.port_include.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }