Bash-4.3 patch 37

This commit is contained in:
Chet Ramey 2015-05-19 14:55:51 -04:00
commit 1cfd8d27f6
2 changed files with 3 additions and 1 deletions

View file

@ -436,6 +436,8 @@ assoc_to_assign (hash, quoted)
#if 1
if (sh_contains_shell_metas (tlist->key))
istr = sh_double_quote (tlist->key);
else if (ALL_ELEMENT_SUB (tlist->key[0]) && tlist->key[1] == '\0')
istr = sh_double_quote (tlist->key);
else
istr = tlist->key;
#else