aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 90468e6..9590a85 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1882,13 +1882,14 @@ pkg_gentree() (
for op in $(sepchar "$2"); do
case "$op" in
b) deps="$(pkg_get_base nonl)" ;;
+ f) make_deps='' ;;
x) make_deps=first-nomake ;;
r) reverse=1 ;;
n) nonl=1 ;;
*) die "pkg_gentree: Unknown key '$op'"
esac
done
- pkg_depends "$1" tree "${make_deps:+first}"
+ pkg_depends "$1" tree "$make_deps"
eval set -- "$deps"
pkg_order "$@"
if [ "$reverse" ]; then eval set -- "$redro"; else eval set -- "$order"; fi