From 74f4e8f66340644f73ee4be56901a58029b47a76 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 19 Dec 2007 20:06:16 +0000 Subject: 24298: Tonguc Yumruk: emulate -L consistency --- ChangeLog | 5 +++++ Functions/Misc/is-at-least | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ad18b9b2..ef7889321 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-19 Peter Stephenson + + * 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use + emulate -L for consistency. + 2007-12-18 Peter Stephenson * 24289 plus change suggested by Ismail in 24290: diff --git a/Functions/Misc/is-at-least b/Functions/Misc/is-at-least index 6debe4c5a..d4b0e2fe0 100644 --- a/Functions/Misc/is-at-least +++ b/Functions/Misc/is-at-least @@ -14,7 +14,7 @@ # is-at-least 586 $MACHTYPE && echo 'You could be running Mandrake!' # 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 -- cgit 1.4.1