summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}