mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Small fix for zsh; use setopt shwordsplit instead of set -y
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@34804 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ccf1f873c8
commit
eeeda85518
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-02-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* GNUstep.sh.in: Use "setopt shwordsplit" instead of "set -y" to
|
||||
get zsh to emulate sh's traditional word split behaviour.
|
||||
Suggestion by Alex Merry.
|
||||
|
||||
2012-02-21 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* FilesystemLayouts/README: Updated for the fact that 'fhs' is now
|
||||
|
|
|
@ -62,7 +62,7 @@ if [ -n "$ZSH_VERSION" ]; then
|
|||
# If -y is not already set, set it and remember that we
|
||||
# need to set it back to what it was at the end.
|
||||
if ( setopt | grep shwordsplit > /dev/null ); then :; else
|
||||
set -y
|
||||
setopt shwordsplit
|
||||
GS_ZSH_NEED_TO_RESTORE_SET=yes
|
||||
fi
|
||||
|
||||
|
@ -666,6 +666,6 @@ else
|
|||
fi
|
||||
|
||||
if [ -n "$GS_ZSH_NEED_TO_RESTORE_SET" ]; then
|
||||
set +y
|
||||
unsetopt shwordsplit
|
||||
fi
|
||||
# EOF
|
||||
|
|
Loading…
Reference in a new issue