Use absolute path for the "ctm" program.

This commit is contained in:
Poul-Henning Kamp 1995-02-20 19:07:32 +00:00
parent f8972f58e8
commit 95104c63d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6576

View File

@ -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);