diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 16:17:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 16:17:06 +1300 |
commit | 7ef931f898aebfe1f0219bed2bf5128d8b25f74b (patch) | |
tree | 2fcb275f74add9383b9a155206a63aa4dec5f1b5 /bin | |
parent | Merge branch 'release/v10.15.0' into develop (diff) | |
download | dotfiles-7ef931f898aebfe1f0219bed2bf5128d8b25f74b.tar.gz dotfiles-7ef931f898aebfe1f0219bed2bf5128d8b25f74b.zip |
Use inline integers rather than bit shifting
Syntax highlighting doesn't deal with it well
Diffstat (limited to 'bin')
-rw-r--r-- | bin/mktd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mktd.sh b/bin/mktd.sh index 72375873..c2ba2ee2 100644 --- a/bin/mktd.sh +++ b/bin/mktd.sh @@ -2,7 +2,7 @@ # Build the intended directory name, with the last element a random integer # from 1..2^31 -lim=$((2 << 31)) +lim=2147483648 dn=${TMPDIR:-/tmp}/${1:-mktd}.$$.$(rndi 1 "$lim") # Create the directory and print its name if successful |