svn commit: trunk/busybox/shell

landley at busybox.net landley at busybox.net
Fri Sep 15 04:10:05 UTC 2006


Author: landley
Date: 2006-09-14 21:10:05 -0700 (Thu, 14 Sep 2006)
New Revision: 16127

Log:
Unbreak allbareconfig.


Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2006-09-15 04:08:25 UTC (rev 16126)
+++ trunk/busybox/shell/hush.c	2006-09-15 04:10:05 UTC (rev 16127)
@@ -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




More information about the busybox-cvs mailing list