mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
install(1): addition to r363067
Also, make it not break if STRIPBIN points to strip version without -o support and destination does not exist before installing. Reported by: lwhsu MFC after: 1 month X-MFC-With: 363064
This commit is contained in:
parent
4ef7c2f28f
commit
cd88eaa5b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363081
@ -1350,9 +1350,9 @@ strip(const char *to_name, const char *from_name, char **dresp)
|
||||
/* NOTREACHED */
|
||||
}
|
||||
if (status != 0) {
|
||||
(void)unlink(to_name);
|
||||
if (from_name != NULL)
|
||||
return (0);
|
||||
(void)unlink(to_name);
|
||||
errx(EX_SOFTWARE, "strip command %s failed on %s",
|
||||
stripbin, to_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user