aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorwindrammer <31085911+likeawindrammer@users.noreply.github.com>2019-08-05 08:40:54 -0600
committeroldmud0 <oldmud0@users.noreply.github.com>2019-08-05 09:40:54 -0500
commitc8b219136e1632c83323567acd38e0be590f5d7a (patch)
tree96b8c4433bf5cd37e6adfb7315974f8c6b352968 /scripts
parente76d52fecc08c817f6ea84b554d0b01a201ae8f2 (diff)
Add double quotes around ${ROOT_DIR} (#91)
Without this the script fails with ./configure_ubuntu.sh: line 10: cd: too many arguments if there's any space in the patch of the root folder
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/configure_ubuntu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configure_ubuntu.sh b/scripts/configure_ubuntu.sh
index 6cad1f15..a3d07ede 100755
--- a/scripts/configure_ubuntu.sh
+++ b/scripts/configure_ubuntu.sh
@@ -7,7 +7,7 @@ set -eu
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/"
-cd ${ROOT_DIR}
+cd "${ROOT_DIR}"
#need some openGL stuff
sudo apt install libgl1-mesa-dev