one more instance of r13005
authorFelix Fietkau <nbd@openwrt.org>
Sat, 18 Oct 2008 20:16:40 +0000 (20:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 18 Oct 2008 20:16:40 +0000 (20:16 +0000)
SVN-Revision: 13007

include/toplevel.mk

index ab4448a..6d46fe1 100644 (file)
@@ -75,7 +75,7 @@ oldconfig: scripts/config/conf prepare-tmpinfo FORCE
        $< -$(if $(CONFDEFAULT),$(CONFDEFAULT),o) Config.in
 
 menuconfig: scripts/config/mconf prepare-tmpinfo FORCE
-       if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \
+       if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \
                cp $(HOME)/.openwrt/defconfig .config; \
        fi
        $< Config.in