fix menuconfig checks
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 Apr 2007 10:31:46 +0000 (10:31 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 7 Apr 2007 10:31:46 +0000 (10:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6879 3c298f89-4303-0410-b956-a3cf2f4a3e73

Makefile

index 43ed005..fffc3bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,8 +90,9 @@ oldconfig: scripts/config/conf tmp/.config-target.in tmp/.config-package.in FORC
        $< -o Config.in
 
 menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE
-       @[ -f .config ] || \
-               [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config
+       @[ -f .config ] || { \
+               [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
+       }
        $< Config.in
 
 kernel_menuconfig: .config FORCE
This page took 0.023868 seconds and 4 git commands to generate.