Jilles Tjoelker
b84d7af7c6
sh: Return 0 from eval if no command was given.
...
This makes a difference if there is a command substitution.
To make this work, evalstring() has been changed to set exitstatus to 0 if
no command was executed (the string contained only whitespace).
Example:
eval $(false); echo $?
should print 0.
2010-08-03 22:17:29 +00:00
..
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-04-25 20:43:19 +00:00
2009-12-24 18:41:14 +00:00
2010-04-25 20:43:19 +00:00
2010-04-17 14:35:46 +00:00
2010-04-17 14:35:46 +00:00
2010-01-01 18:17:46 +00:00
2009-12-24 20:55:14 +00:00
2010-08-03 22:17:29 +00:00
2009-12-27 18:04:05 +00:00
2010-03-06 16:57:53 +00:00
2010-03-06 16:57:53 +00:00
2010-06-29 22:37:45 +00:00
2009-12-24 18:41:14 +00:00
2010-08-01 16:37:51 +00:00
2009-12-27 18:04:05 +00:00
2009-12-24 18:41:14 +00:00
2010-06-29 22:37:45 +00:00
2010-06-29 22:37:45 +00:00
2009-12-24 18:41:14 +00:00
2010-05-28 22:40:24 +00:00
2009-12-25 20:21:35 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-12-27 18:04:05 +00:00
2009-12-27 18:04:05 +00:00
2009-12-27 18:04:05 +00:00
2009-08-28 22:41:25 +00:00
2010-04-11 12:24:47 +00:00
2010-06-02 19:16:58 +00:00
2009-12-27 18:04:05 +00:00
2009-08-28 22:41:25 +00:00
2010-04-05 14:15:51 +00:00
2009-12-27 18:04:05 +00:00
2009-12-24 18:41:14 +00:00
2010-01-01 18:17:46 +00:00
2010-07-25 22:25:52 +00:00
2009-12-27 18:04:05 +00:00
2009-11-29 22:33:59 +00:00
2010-06-29 22:37:45 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-11-21 20:44:34 +00:00
2009-12-24 20:55:14 +00:00
2010-06-02 19:16:58 +00:00
2010-06-02 19:16:58 +00:00