Die at the beginning of install_qa_check if ${D} doesn't exist. See bug #140159.
authorZac Medico <zmedico@gentoo.org>
Thu, 13 Jul 2006 18:04:36 +0000 (18:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 13 Jul 2006 18:04:36 +0000 (18:04 -0000)
svn path=/main/trunk/; revision=3852

bin/misc-functions.sh

index 1212b4db38f9d891eb1732b536287d6e21cc4444..6e0fbac094d56fb7454c9324df6e37011fdc0596 100755 (executable)
@@ -18,9 +18,8 @@ shift $#
 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}/ebuild.sh"
 
 install_qa_check() {
-
+       cd "${D}" || die "cd failed"
        prepall
-       cd "${D}"
 
        declare -i UNSAFE=0
        for i in $(find "${D}/" -type f -perm -2002); do