aboutsummaryrefslogtreecommitdiff
path: root/cpt
diff options
context:
space:
mode:
Diffstat (limited to 'cpt')
-rwxr-xr-xcpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpt b/cpt
index d29083d..63bab84 100755
--- 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" "$@"
;;