Fix IFS issues - have to always unset after use

This commit is contained in:
Nathan Broadbent
2017-02-19 20:05:59 +07:00
parent 39f6596861
commit 6745822953
7 changed files with 18 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ EOF
for dir in $GIT_REPOS; do
mkdir -p $dir; cd $dir; git init;
done
IFS=$' \t\n'
unset IFS
verboseGitCommands
@@ -74,7 +74,7 @@ oneTimeTearDown() {
rm -rf "${GIT_REPO_DIR}"
IFS=":"
for dir in $GIT_REPOS; do rm -rf $dir; done
IFS=$' \t\n'
unset IFS
}
ensureIndex() {