mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
fix cosmetic error when printing if commands containing here-documents in the body; compiling -DSTRICT_POSIX now forces posix-mode shells to expand redirections before assignment statements preceding simple commands
This commit is contained in:
+1
-1
@@ -843,7 +843,7 @@ print_if_command (IF_COM *if_command)
|
||||
semicolon ();
|
||||
if (was_heredoc)
|
||||
{
|
||||
indent (indentation_amount);
|
||||
indent (indentation);
|
||||
cprintf ("then\n");
|
||||
was_heredoc = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user