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.
Unified · Split
| @@ -169,7 +169,7 @@ cmd_modversions = \ · 168 unmodified lines | ||
| 169 | 169 | -T $(@D)/.tmp_$(@F:.o=.ver); \ |
| 170 | 170 | rm -f $(@D)/.tmp_$(@F) $(@D)/.tmp_$(@F:.o=.ver); \ |
| 171 | 171 | else \ |
| 172 | − mv $(@D)/.tmp_$(@F) $@; \ | |
| 172 | + mv -f $(@D)/.tmp_$(@F) $@; \ | |
| 173 | 173 | fi; |
| 174 | 174 | endif |
| 175 | 175 | |