aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-24 20:24:31 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-24 20:24:31 +1300
commit2953e798d0a7579b8bb48915159153af1abd8ed6 (patch)
tree931eaa30a8a6fc8054fa99aa99c0d851af50ce80
parentd788c225f0f2cef5dfec296aa5595fb6c087e0b3 (diff)
parent1d85b03df88978c4bf1571346a45484e1dab4c64 (diff)
downloaddotfiles-2953e798d0a7579b8bb48915159153af1abd8ed6.tar.gz
Merge branch 'hotfix/v1.77.1' into develop
* hotfix/v1.77.1: Bump VERSION Allow equal bounds in rndi(1df)
-rw-r--r--VERSION4
-rw-r--r--bin/rndi.awk4
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index da2e77b2..d135bdd5 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v1.77.0
-Thu Nov 22 22:59:40 UTC 2018
+tejr dotfiles v1.77.1
+Sat Nov 24 07:20:26 UTC 2018
diff --git a/bin/rndi.awk b/bin/rndi.awk
index 7d5a5b96..02e0574f 100644
--- a/bin/rndi.awk
+++ b/bin/rndi.awk
@@ -13,8 +13,8 @@ BEGIN {
# Floor args and check for sanity
lower = int(ARGV[1] + 0)
upper = int(ARGV[2] + 0)
- if (lower >= upper)
- fail("Bounds must be numeric, first lower than second")
+ if (upper < lower)
+ fail("Bounds must be numeric, first not greater than second")
# Get a random seed if rnds(1df) available
rnds = "rnds 2>/dev/null"