diff options
author | Anish Athalye <me@anishathalye.com> | 2014-08-05 15:30:00 -0700 |
---|---|---|
committer | Anish Athalye <me@anishathalye.com> | 2014-08-05 15:30:00 -0700 |
commit | 62db03c969807f7d93a2ef7cb8b753995b24b221 (patch) | |
tree | 10062986d5c9a32000a5dfd4235c0bf07809ee29 /tools | |
parent | d17e5c8b489d961ab3ba091092f69a25a776f61f (diff) |
Fix bug in install script
Double quote array expansion to prevent breaking on spaces.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/git-submodule/install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/git-submodule/install b/tools/git-submodule/install index 4f4906e..602a5a4 100755 --- a/tools/git-submodule/install +++ b/tools/git-submodule/install @@ -7,6 +7,6 @@ DOTBOT_BIN="bin/dotbot" BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${BASEDIR}" -git submodule update --init --recursive ${DOTBOT_DIR} +git submodule update --init --recursive "${DOTBOT_DIR}" -"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" $@ +"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" |