mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 21:54:50 +00:00
Use absolute path for the "ctm" program.
This commit is contained in:
parent
f8972f58e8
commit
95104c63d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6576
|
@ -153,7 +153,8 @@ apply_complete()
|
|||
if (stat(fname, &sb) < 0)
|
||||
return;
|
||||
|
||||
sprintf(buf, "(cd %s && ctm %s%s) 2>&1", base_dir, here, fname);
|
||||
sprintf(buf, "(cd %s && /usr/sbin/ctm %s%s) 2>&1",
|
||||
base_dir, here, fname);
|
||||
if ((ctm = popen(buf, "r")) == NULL)
|
||||
{
|
||||
err("ctm failed to apply %s", delta);
|
||||
|
|
Loading…
Reference in a new issue