forked from kiss-community/kiss
kiss: use pkg_order for crux-like usage
This commit is contained in:
parent
c716a4b996
commit
3ac3fdcbf8
16
kiss
16
kiss
@ -1521,16 +1521,14 @@ args() {
|
|||||||
# Use basename of current directory as package.
|
# Use basename of current directory as package.
|
||||||
set -- "${PWD##*/}"
|
set -- "${PWD##*/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
[!l]-*)
|
|
||||||
# Order the argument list based on dependence.
|
|
||||||
pkg_order "$@"
|
|
||||||
|
|
||||||
# Intentional, globbing disabled.
|
|
||||||
# shellcheck disable=2046,2086
|
|
||||||
set -- $order
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Order the argument list based on dependence.
|
||||||
|
pkg_order "$@"
|
||||||
|
|
||||||
|
# Intentional, globbing disabled.
|
||||||
|
# shellcheck disable=2046,2086
|
||||||
|
set -- $order
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user