xbps_prepare_pkg(): fix <origin> obj location.

--HG--
extra : convert_revision : 0502559180e0aa2105fcde3e06ca73714725c31e
This commit is contained in:
Juan RP 2009-05-19 03:33:15 +02:00
parent 2fc31e1fc0
commit 3062c40e63

View File

@ -319,7 +319,7 @@ xbps_prepare_pkg(const char *pkgname)
goto out;
}
prop_dictionary_set_cstring(pkgrd, "repository", repoloc);
prop_dictionary_set_cstring(pkgrd, "origin", pkgname);
prop_dictionary_set_cstring(pkg_props, "origin", pkgname);
/*
* Check if this package needs dependencies.