Unbreak allbareconfig.
authorRob Landley <rob@landley.net>
Fri, 15 Sep 2006 04:10:05 +0000 (04:10 -0000)
committerRob Landley <rob@landley.net>
Fri, 15 Sep 2006 04:10:05 +0000 (04:10 -0000)
shell/hush.c

index 230b0fb69a646d6b635aeaa38f54707560bc7afc..cea1d3c60fcaba1967672bc1eaac3242343f18cb 100644 (file)
@@ -2664,11 +2664,8 @@ int hush_main(int argc, char **argv)
 
        /* 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