aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-10 15:34:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-10 15:34:07 +1200
commit87f3cf69ae310bdf83e262f5212847b3c764ced7 (patch)
tree7227d1e0892c96a0e3963d241a1c63bd39fc2f64 /bin
parent6c0c347db28783a3412c72bf9b7ef18b9926e8e1 (diff)
downloaddotfiles-87f3cf69ae310bdf83e262f5212847b3c764ced7.tar.gz
dotfiles-87f3cf69ae310bdf83e262f5212847b3c764ced7.zip
Force integer for dub(1df) limit
Diffstat (limited to 'bin')
-rw-r--r--bin/dub.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dub.sh b/bin/dub.sh
index 41ef88d3..c30749af 100644
--- a/bin/dub.sh
+++ b/bin/dub.sh
@@ -24,4 +24,4 @@ find . ! -name . -prune \( \
sort -k1,1nr |
# Limit the output to the given number of lines
-sed "$lines"q
+sed "$((lines))"q