[PATCH] Fix hush Config.in dependencies

Maxime Bizon mbizon at freebox.fr
Thu Jun 7 17:14:44 UTC 2007


Hello,

Some hush private configs don't depend on hush being selected, the
attached patch (against 1.6.0) fixes it.


--- busybox-1.6.0/shell/Config.in.old	2007-06-07 18:27:18.000000000 +0200
+++ busybox-1.6.0/shell/Config.in	2007-06-07 18:28:09.000000000 +0200
@@ -179,6 +179,7 @@
 config HUSH_HELP
 	bool "help builtin"
 	default n
+	depends on HUSH
 	help
 	  Enable help builtin in hush. Code size + ~1 kbyte.
 
@@ -206,18 +207,21 @@
 config HUSH_TICK
 	bool "Process substitution"
 	default n
+	depends on HUSH
 	help
 	  Enable process substitution `command` and $(command) in hush.
 
 config HUSH_IF
 	bool "Support if/then/elif/else/fi"
 	default n
+	depends on HUSH
 	help
 	  Enable if/then/elif/else/fi in hush.
 
 config HUSH_LOOPS
 	bool "Support for, while and until loops"
 	default n
+	depends on HUSH
 	help
 	  Enable for, while and until loops in hush.
 


-- 
Maxime




More information about the busybox mailing list