unpack: convert printf added in previous to xbps_dbg_printf.
This commit is contained in:
parent
7fdae2d6dc
commit
c58ca952a8
@ -470,7 +470,6 @@ unpack_archive(struct xbps_handle *xhp,
|
||||
p2 = xbps_xasprintf(".%s", tgtlnk);
|
||||
assert(p2);
|
||||
}
|
||||
printf("p %s tgtlink %s p2 %s\n", p, tgtlnk, p2);
|
||||
buf2 = realpath(p2, NULL);
|
||||
assert(buf2);
|
||||
free(p2);
|
||||
@ -479,6 +478,9 @@ unpack_archive(struct xbps_handle *xhp,
|
||||
else
|
||||
p2 = buf2;
|
||||
|
||||
xbps_dbg_printf(xhp, "[unpack] symlink cur "
|
||||
"target: %s new target: %s\n", p, p2);
|
||||
|
||||
if (strcmp(p, p2) == 0) {
|
||||
xbps_dbg_printf(xhp, "%s-%s: symlink "
|
||||
"%s matched, skipping...\n",
|
||||
|
Loading…
Reference in New Issue
Block a user