When running "tox -e docs" in my environment, git clone fails with
"Too many arguments." It seems ":" in "https://" is affected by IFS.
1. In tox_install.sh, IFS is set to ":". It affects the current
execution environment and can have undesirable side effects later.
It's safer to restore it. (This commit fixes this.)
2. Otoh, the particular symptom above seems like a bug in a version
of bash I happen to have.
bash-3.2$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.
bash-3.2$ IFS=:
bash-3.2$ echo a:b
a:b
bash-3.2$ echo a:b$x
a b
bash-3.2$
Reviewed: https:/ /review. openstack. org/489978 /git.openstack. org/cgit/ openstack/ neutron- vpnaas- dashboard/ commit/ ?id=4f780b1c5f0 c78fdd0b6300849 b1341d4236da7b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4f780b1c5f0c78f dd0b6300849b134 1d4236da7b
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Aug 2 20:20:30 2017 +0900
tox_install: Don't leave IFS set
When running "tox -e docs" in my environment, git clone fails with
"Too many arguments." It seems ":" in "https://" is affected by IFS.
1. In tox_install.sh, IFS is set to ":". It affects the current
execution environment and can have undesirable side effects later.
It's safer to restore it. (This commit fixes this.)
2. Otoh, the particular symptom above seems like a bug in a version
of bash I happen to have.
bash-3.2$ bash --version apple-darwin14)
GNU bash, version 3.2.57(1)-release (x86_64-
Copyright (C) 2007 Free Software Foundation, Inc.
bash-3.2$ IFS=:
bash-3.2$ echo a:b
a:b
bash-3.2$ echo a:b$x
a b
bash-3.2$
Closes-Bug: #1708147 a2a6b0efa6c6e8c bb45c78da46
Change-Id: Icf515dc2ee7e2d