]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/Makefile.build
kbuild: Fix build as root then user
[linux-2.6-omap-h63xx.git] / scripts / Makefile.build
index 76ba6be3dfc9cd51888b57ef54c9aea8e8d19e81..282bfb310f5b925c9d51fa7b443a6491c34030f9 100644 (file)
@@ -169,7 +169,7 @@ cmd_modversions =                                                   \
                        -T $(@D)/.tmp_$(@F:.o=.ver);                    \
                rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver);        \
        else                                                            \
-               mv $(@D)/.tmp_$(@F) $@;                                 \
+               mv -f $(@D)/.tmp_$(@F) $@;                              \
        fi;
 endif