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

4
kiss
View File

@ -1521,8 +1521,8 @@ args() {
# Use basename of current directory as package. # Use basename of current directory as package.
set -- "${PWD##*/}" set -- "${PWD##*/}"
;; ;;
esac
[!l]-*)
# Order the argument list based on dependence. # Order the argument list based on dependence.
pkg_order "$@" pkg_order "$@"
@ -1531,8 +1531,6 @@ args() {
set -- $order set -- $order
;; ;;
esac esac
;;
esac
# Rerun the script as root with a fixed environment if needed. We sadly # Rerun the script as root with a fixed environment if needed. We sadly
# can't run singular functions as root so this is needed. # can't run singular functions as root so this is needed.