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 cc08f82ddb
.
This commit is contained in:
parent
8070a98288
commit
4c9fbea987
Notes:
sideshowbarker
2024-07-17 14:33:54 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/4c9fbea987 Pull-request: https://github.com/SerenityOS/serenity/pull/13458
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue