summaryrefslogtreecommitdiff
path: root/stylize.sh
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-07-04 23:34:41 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-07-04 23:34:41 +0300
commit0ccf762225924f50f692db19cb6e097095c2d14c (patch)
tree0fc64e15ec17807d38b9733ede3b3c2292b546fa /stylize.sh
parent8d9d3dc8913a9d6488890188ae4bc73d187f1e0d (diff)
Subtle changes within stylize.sh, neuralart.py and the README.md files.
Mostly QoS changes and better instructions and error handling. Changes to be committed: modified: README.md modified: neuralart.py modified: stylize.sh
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"