Browse Source

same as [6881]

SVN-Revision: 6882
Mike Baker 19 years ago
parent
commit
1ad09590cc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Makefile

+ 3 - 3
Makefile

@@ -62,10 +62,10 @@ tmp/.config-%.in: tmp/.%info
 
 
 .config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in
-	@[ -f .config ] || { \
-		[ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
+	@if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ 
+		cp $(HOME)/.openwrt/defconfig .config; \
 		$(NO_TRACE_MAKE) menuconfig; \
-	}
+	fi
 	@$< -D .config Config.in &> /dev/null
 
 scripts/config/mconf: