diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 20:12:40 +0000 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 20:12:40 +0000 |
commit | cfca82f2179dd1aee84a5bf3b14710e4d7487aed (patch) | |
tree | d1ddaecfd623320c8a18ce6a0bc965f41e9a1e4b /scripts/Makefile.build | |
parent | 2283a117f65650352f2a9fd6b9af4cdbf5478d14 (diff) | |
download | linux-cfca82f2179dd1aee84a5bf3b14710e4d7487aed.tar.bz2 |
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 |