Merge branch 'jc/maint-fbsd-sh-ifs-workaround' into maint
* jc/maint-fbsd-sh-ifs-workaround: sh-setup: work around "unset IFS" bug in some shells
This commit is contained in:
commit
8da3933ad6
@ -12,8 +12,11 @@
|
|||||||
# But we protect ourselves from such a user mistake nevertheless.
|
# But we protect ourselves from such a user mistake nevertheless.
|
||||||
unset CDPATH
|
unset CDPATH
|
||||||
|
|
||||||
# Similarly for IFS
|
# Similarly for IFS, but some shells (e.g. FreeBSD 7.2) are buggy and
|
||||||
unset IFS
|
# do not equate an unset IFS with IFS with the default, so here is
|
||||||
|
# an explicit SP HT LF.
|
||||||
|
IFS='
|
||||||
|
'
|
||||||
|
|
||||||
git_broken_path_fix () {
|
git_broken_path_fix () {
|
||||||
case ":$PATH:" in
|
case ":$PATH:" in
|
||||||
|
Loading…
Reference in New Issue
Block a user