Revert "Stop converting relative symlinks to absolute."

This reverts commit 9ae3638429.

This change is ok, but cannot be used right now because all existing
binpkgs were created with an old xbps-create(8).
This commit is contained in:
Juan RP
2015-02-19 11:11:58 +01:00
parent 9ae3638429
commit a05e039cce
7 changed files with 105 additions and 20 deletions

View File

@ -213,7 +213,7 @@ remove_pkg_files(struct xbps_handle *xhp,
xbps_dictionary_get_cstring_nocopy(obj, "target", &target);
assert(target);
lnk = xbps_symlink_target(path);
lnk = xbps_symlink_target(xhp, path, target);
if (lnk == NULL) {
xbps_dbg_printf(xhp, "[remove] %s "
"symlink_target: %s\n", path, strerror(errno));