We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591b09c commit 30a978bCopy full SHA for 30a978b
patchlevel.h
@@ -25,6 +25,6 @@
25
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
26
looks for to find the patch level (for the sccs version string). */
27
28
-#define PATCHLEVEL 45
+#define PATCHLEVEL 46
29
30
#endif /* _PATCHLEVEL_H_ */
subst.c
@@ -9561,7 +9561,14 @@ shell_expand_word_list (tlist, eflags)
9561
9562
opts[opti] = '\0';
9563
if (opti > 0)
9564
- make_internal_declare (tlist->word->word, opts);
+ {
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
9572
9573
t = do_word_assignment (tlist->word, 0);
9574
if (t == 0)
0 commit comments