summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index e9ef25d..3f821dd 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -548,7 +548,7 @@ pkg_doc () {
## Now what shall we do...
##
-case ${1:s/-/} in
+case $1 in
add) pkg_add $2 ;;
changelog) pkg_changelog $2 ;;
changeroot) pkg_changesrc $2 ;;