unpack: match correctly symlinks with absolute path.
This commit is contained in:
1 parent
264c704529
commit
978013bfbf
1 file changed
+1
-1
@@ -472,7 +472,7 @@ unpack_archive(struct xbps_handle *xhp,
|
||||
assert(buf2);
|
||||
free(p3);
|
||||
} else {
|
||||
buf2 = xbps_xasprintf(".%s", tgtlnk);
|
||||
buf2 = strdup(tgtlnk);
|
||||
assert(buf2);
|
||||
}
|
||||
if (strcmp(xhp->rootdir, "/"))
|
||||
|
||||
Reference in new issue
Block a user