From 63bd2aa6b7d35484bf561fab91247a7513df22dd Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 11 Oct 2021 16:40:25 -0400 Subject: swipeGuess: allow to use directory instead of file --- makeDir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makeDir.sh') diff --git a/makeDir.sh b/makeDir.sh index aa9f782..863497e 100755 --- a/makeDir.sh +++ b/makeDir.sh @@ -1,7 +1,7 @@ #!/bin/sh dir="$1" rm $dir/* -source functions.sh +source "$(dirname "$0")/functions.sh" while read -r line; do fl=$(firstLetter "$line") ll=$(lastLetter "$line") -- cgit 1.4.1