Skip to content

Commit bca1810

Browse files
committed
Merge pull request #471 from nathansamson/nathan/vagrant-space-fix
Allow the provision-controller.sh script to run in a directory with spaces
2 parents 04d0bcf + 0ba9ed1 commit bca1810

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contrib/vagrant/provision-controller.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ function echo_color {
77
echo -e "\033[1m$1\033[0m"
88
}
99

10-
THIS_DIR=$(cd $(dirname $0); pwd) # absolute path
11-
CONTRIB_DIR=$(dirname $THIS_DIR)
10+
THIS_DIR="$(cd $(dirname $0); pwd)" # absolute path
11+
CONTRIB_DIR=$(dirname "$THIS_DIR")
1212

1313
# check for Deis' general dependencies
14-
if ! $CONTRIB_DIR/check-deis-deps.sh; then
14+
if ! "$CONTRIB_DIR/check-deis-deps.sh"; then
1515
echo 'Deis is missing some dependencies.'
1616
exit 1
1717
fi

0 commit comments

Comments
 (0)