commit | 215c61d3c2830113479ce008d9c1d7e3978ad9c1 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri Sep 15 04:10:05 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Fri Sep 15 04:10:05 2006 +0000 |
tree | f5cf226a1a75c3b6e7a7108038421da1ef7030c3 | |
parent | f5fc1384e97eb11bf1f0e61308554da5883209d2 [diff] |
Unbreak allbareconfig.
diff --git a/shell/hush.c b/shell/hush.c index 230b0fb..cea1d3c 100644 --- a/shell/hush.c +++ b/shell/hush.c
@@ -2664,11 +2664,8 @@ /* Initialize some more globals to non-zero values */ set_cwd(); -#ifdef CONFIG_FEATURE_COMMAND_EDITING - cmdedit_set_initial_prompt(); -#else - PS1 = NULL; -#endif + if (ENABLE_FEATURE_COMMAND_EDITING) cmdedit_set_initial_prompt(); + else PS1 = NULL; PS2 = "> "; /* initialize our shell local variables with the values