about summary refs log tree commit diff
path: root/makeDir.sh
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-10-11 16:40:25 -0400
committerZach DeCook <zachdecook@librem.one>2021-10-11 16:40:25 -0400
commit63bd2aa6b7d35484bf561fab91247a7513df22dd (patch)
treeee3db629dabe4666391b7fc9dd957b02eacfd951 /makeDir.sh
parentb5f1684628e292d44ca00921900402258422b227 (diff)
downloadswipeGuess-63bd2aa6b7d35484bf561fab91247a7513df22dd.tar.gz
swipeGuess: allow to use directory instead of file
Diffstat (limited to 'makeDir.sh')
-rwxr-xr-xmakeDir.sh2
1 files changed, 1 insertions, 1 deletions
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")