aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/mkmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 9ad1bd793252..e0f54b9d8fec 100644
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -13,7 +13,7 @@
13test ! -r $2/Makefile -o -O $2/Makefile || exit 0 13test ! -r $2/Makefile -o -O $2/Makefile || exit 0
14# Only overwrite automatically generated Makefiles 14# Only overwrite automatically generated Makefiles
15# (so we do not overwrite kernel Makefile) 15# (so we do not overwrite kernel Makefile)
16if ! grep -q Automatically $2/Makefile 16if test -e $2/Makefile && ! grep -q Automatically $2/Makefile
17then 17then
18 exit 0 18 exit 0
19fi 19fi