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
2009-12-24 18:41:14 +00:00
2010-03-06 16:57:53 +00:00
2010-03-06 16:57:53 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-05-28 22:40:24 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-06-02 19:16:58 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-06-02 19:16:58 +00:00
2010-06-02 19:16:58 +00:00