cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 5bc3b6fc987e8e05a88a2acd413c1c81926b54d4
parent 46b20304bd789633bc590cd7482822a73cdc9382
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 24 Jul 2020 13:22:26 +0300

cpt: fix argument usage

Diffstat:
Mcpt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpt b/cpt @@ -25,8 +25,8 @@ case "$arg" in --version|-v) version ;; *) - util=$(SEARCH_PATH=$PATH pkg_find "cpt-$1"* "" -x 2>/dev/null) || - die "'cpt $action' is not a valid command" + util=$(SEARCH_PATH=$PATH pkg_find "cpt-$arg"* "" -x 2>/dev/null) || + die "'cpt $arg' is not a valid command" "$util" "$@" ;;