summaryrefslogtreecommitdiff
path: root/stylize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stylize.sh')
-rwxr-xr-xstylize.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/stylize.sh b/stylize.sh
index 939ec06..b83517b 100755
--- a/stylize.sh
+++ b/stylize.sh
@@ -2,6 +2,8 @@
set -e ### exit the script if any part of it fails
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
cwd=$(pwd | sed -r 's%.*/%%g')
if [ $cwd != "neural-art" ] ; then
echo "You must be in the 'neural-art' directory when you run this"