deprecate IMAGE
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Nov 2005 23:54:03 +0000 (23:54 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Nov 2005 23:54:03 +0000 (23:54 -0000)
svn path=/main/branches/2.0/; revision=2249

bin/ebuild.sh

index 21a3afda81b06fa3e4391288a48d6307483aed9e..4ba25ee126622744cba8835d05240d25318ca91c 100755 (executable)
@@ -1215,7 +1215,7 @@ dyn_preinst() {
        [ "${EMERGE_FROM}" == "binary" ] && IMAGE=${PKG_TMPDIR}/${PF}/bin \
                                        || IMAGE=${D}
 
-       pkg_preinst
+       D=${IMAGE} pkg_preinst
 
        # hopefully this will someday allow us to get rid of the no* feature flags
        # we don't want globbing for initial expansion, but afterwards, we do