summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-02 21:29:24 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-02 21:29:24 +0200
commitf95180c8b5c50aa0a6a800f2c795d58d23bc1bc2 (patch)
treec45d02157f1a955ddf3e2fa39a3b517580263274
parenta3814c5afb568f3de79545b5ae146ee9b5f55a5d (diff)
pkg: debug: use math expansion
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 91a6f3a..d96698e 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -27,7 +27,7 @@ c_reset=$'\e[0m'
function debug {
typeset func line
- if [[ ${#*} -ge 3 ]] {
+ if (( ${#*} >= 3 )) {
func=$1
line=$2
shift 2