Skip to content

Commit 30a978b

Browse files
author
Chet Ramey
committed
Bash-4.3 patch 46
1 parent 591b09c commit 30a978b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

patchlevel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
2626
looks for to find the patch level (for the sccs version string). */
2727

28-
#define PATCHLEVEL 45
28+
#define PATCHLEVEL 46
2929

3030
#endif /* _PATCHLEVEL_H_ */

subst.c

+8-1
Original file line numberDiff line numberDiff line change
@@ -9561,7 +9561,14 @@ shell_expand_word_list (tlist, eflags)
95619561

95629562
opts[opti] = '\0';
95639563
if (opti > 0)
9564-
make_internal_declare (tlist->word->word, opts);
9564+
{
9565+
t = make_internal_declare (tlist->word->word, opts);
9566+
if (t != EXECUTION_SUCCESS)
9567+
{
9568+
last_command_exit_value = t;
9569+
exp_jump_to_top_level (DISCARD);
9570+
}
9571+
}
95659572

95669573
t = do_word_assignment (tlist->word, 0);
95679574
if (t == 0)

0 commit comments

Comments
 (0)