summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-14 10:38:21 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-14 10:38:21 +0200
commitae91c01ad4fd02f283f20007efd118bdc5e67070 (patch)
tree253880436ad9f2072aba1cd409ab77d6936809f6
parent676d4198642c6a4bb91d6831eb82a1673ee4d1ab (diff)
pkg: debug: Use $# instead of ${#*}
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 2da3d4f..63448b1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -28,7 +28,7 @@ c_reset=$'\e[0m'
function debug {
typeset func line
- if (( ${#*} >= 3 )) {
+ if (( $# >= 3 )) {
func=$1
line=$2
shift 2