xbps_unpack_binary_pkg: fix wrong path to metadata files!

This commit is contained in:
Juan RP 2011-03-04 10:48:39 +01:00
parent 0452c7c9dd
commit 6a91c2894e

View File

@ -127,7 +127,7 @@ remove_metafile(const char *file, const char *pkgname, const char *version)
char *buf;
buf = xbps_xasprintf(".%s/metadata/%s/%s",
XBPS_META_PATH, file, pkgname);
XBPS_META_PATH, pkgname, file);
if (buf == NULL)
return ENOMEM;