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
This commit is contained in:
windrammer 2019-08-05 08:40:54 -06:00 committed by oldmud0
parent e76d52fecc
commit c8b219136e

View File

@ -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