gwh

GodWordsHappy module for GNU/Linux
git clone git://squid-tech.com/gwh.git
Log | Files | Refs

commit 8f7d52c76953d40ae419bd14b0c6e9fbef986930
parent 8523e8aeb885adbe8ac3071e007b796e710a8cc5
Author: Josh Moore <jxm5210@rit.edu>
Date:   Thu, 16 Jan 2020 15:13:44 -0500

Resolve symlinks correctly

Diffstat:
Mgodwordshappy.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/godwordshappy.sh b/godwordshappy.sh @@ -1 +1 @@ -echo "$(shuf -n 32 ./Happy.TXT --random-source=/dev/urandom | tr '\n' ' ')" +echo "$(shuf -n 32 $(dirname "$(readlink -f "$0")")/Happy.TXT --random-source=/dev/urandom | tr '\n' ' ')"