kiss: use pkg_order for crux-like usage

This commit is contained in:
Dylan Araps 2021-07-06 21:49:44 +03:00
parent c716a4b996
commit 3ac3fdcbf8
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

16
kiss
View File

@ -1521,16 +1521,14 @@ args() {
# Use basename of current directory as package.
set -- "${PWD##*/}"
;;
[!l]-*)
# Order the argument list based on dependence.
pkg_order "$@"
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
set -- $order
;;
esac
# Order the argument list based on dependence.
pkg_order "$@"
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
set -- $order
;;
esac