From 3062c40e635d6490bf7b2df5c593ef8dabad669f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 May 2009 03:33:15 +0200 Subject: [PATCH] xbps_prepare_pkg(): fix obj location. --HG-- extra : convert_revision : 0502559180e0aa2105fcde3e06ca73714725c31e --- lib/findpkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/findpkg.c b/lib/findpkg.c index f95a810245b..7b6b0cc8fb6 100644 --- a/lib/findpkg.c +++ b/lib/findpkg.c @@ -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.