mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-16 14:41:02 +02:00
24298: Tonguc Yumruk: emulate -L consistency
This commit is contained in:
parent
f8585a7c21
commit
74f4e8f663
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use
|
||||||
|
emulate -L for consistency.
|
||||||
|
|
||||||
2007-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2007-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* 24289 plus change suggested by Ismail in 24290:
|
* 24289 plus change suggested by Ismail in 24290:
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# is-at-least 586 $MACHTYPE && echo 'You could be running Mandrake!'
|
# is-at-least 586 $MACHTYPE && echo 'You could be running Mandrake!'
|
||||||
# is-at-least $ZSH_VERSION || print 'Something fishy here.'
|
# is-at-least $ZSH_VERSION || print 'Something fishy here.'
|
||||||
|
|
||||||
emulate zsh ; setopt LOCAL_OPTIONS
|
emulate -L zsh
|
||||||
|
|
||||||
local IFS=".-" min_cnt=0 ver_cnt=0 part min_ver version
|
local IFS=".-" min_cnt=0 ver_cnt=0 part min_ver version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue