summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-05-05 20:40:36 +0200
committerTom Smeding <tom.smeding@gmail.com>2018-05-05 20:40:36 +0200
commit414de167bca501f11733daf2ff9bf662f5166a30 (patch)
tree756949c1b67460ef88e7603c9d23d10757631f30
parent5e09fcb742e741a485c62ea299c2827cbc75eeb6 (diff)
Change to script directory in startup.sh
-rwxr-xr-xstartup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/startup.sh b/startup.sh
index 40c271d..a9ee756 100755
--- a/startup.sh
+++ b/startup.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+cd "$(dirname "$0")"
+
echo "Enter username \n password \n"
IFS="" read username
IFS="" read -s password