Merge pull request #257 from PlushBeaver/diff-path
Remove hardcoded path to diff binary
This commit is contained in:
commit
bf14df3c40
1 changed files with 1 additions and 1 deletions
|
|
@ -701,7 +701,7 @@ compare_xmls(cxobj *xc1,
|
||||||
clicon_err(OE_CFG, errno, "cbuf_new");
|
clicon_err(OE_CFG, errno, "cbuf_new");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
cprintf(cb, "/usr/bin/diff -dU 1 %s %s | grep -v @@ | sed 1,2d",
|
cprintf(cb, "diff -dU 1 %s %s | grep -v @@ | sed 1,2d",
|
||||||
filename1, filename2);
|
filename1, filename2);
|
||||||
if (system(cbuf_get(cb)) < 0)
|
if (system(cbuf_get(cb)) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue