commit bash-20070201 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:03:08 -05:00
parent 5cfe250dad
commit a76f5a2bf1
39 changed files with 3599 additions and 158 deletions
+1 -1
View File
@@ -2547,7 +2547,7 @@ execute_cond_node (cond)
arg1 = cond_expand_word (cond->left->op, 0);
if (arg1 == 0)
arg1 = nullstr;
arg2 = cond_expand_word (cond->right->op, patmatch||rmatch);
arg2 = cond_expand_word (cond->right->op, rmatch ? 2 : (patmatch ? 1 : 0));
if (arg2 == 0)
arg2 = nullstr;