diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 16:12:40 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 16:12:40 -0400 |
commit | cfca82f2179dd1aee84a5bf3b14710e4d7487aed (patch) | |
tree | d1ddaecfd623320c8a18ce6a0bc965f41e9a1e4b /scripts/Makefile.build | |
parent | 2283a117f65650352f2a9fd6b9af4cdbf5478d14 (diff) |
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 = \ | |||
169 | -T $(@D)/.tmp_$(@F:.o=.ver); \ | 169 | -T $(@D)/.tmp_$(@F:.o=.ver); \ |
170 | rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver); \ | 170 | rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver); \ |
171 | else \ | 171 | else \ |
172 | mv $(@D)/.tmp_$(@F) $@; \ | 172 | mv -f $(@D)/.tmp_$(@F) $@; \ |
173 | fi; | 173 | fi; |
174 | endif | 174 | endif |
175 | 175 | ||