mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Use mv -f. Otherwise if you accidently build as root, and then as a user,
it keeps asking you if you want to overwrite it or not. Submitted by: peter
This commit is contained in:
parent
740348c40a
commit
1c8deadc52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102164
@ -474,9 +474,9 @@ for (file_i = 0; file_i < num_files; file_i++) {
|
||||
}
|
||||
else {
|
||||
if (opt_c)
|
||||
system_check("mv " ctmpfilename " " cfilename);
|
||||
system_check("mv -f " ctmpfilename " " cfilename);
|
||||
if (opt_h)
|
||||
system_check("mv " htmpfilename " " hfilename);
|
||||
system_check("mv -f " htmpfilename " " hfilename);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user