diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 22:12:40 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 22:12:40 +0200 |
commit | cfca82f2179dd1aee84a5bf3b14710e4d7487aed (patch) | |
tree | d1ddaecfd623320c8a18ce6a0bc965f41e9a1e4b /scripts/Makefile.build | |
parent | [PATCH] scripts/kernel-doc: don't use uninitialized SRCTREE (diff) | |
download | linux-cfca82f2179dd1aee84a5bf3b14710e4d7487aed.tar.xz linux-cfca82f2179dd1aee84a5bf3b14710e4d7487aed.zip |
kbuild: Fix build as root then user
From: Matthew Wilcox <matthew@wil.cx>
I inadvertently built a tree as root and then rebuilt it as a user. I
got a lot of prompts ...
mv: overwrite `drivers/char/drm/drm_auth.o', overriding mode 0644?
Using mv -f fixes that.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 76ba6be3dfc9..282bfb310f5b 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -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 |