]> git.saurik.com Git - apt.git/commitdiff
test/integration/framework: look for ../aptconfig.conf as well to fix test failure...
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 13 Oct 2010 10:04:33 +0000 (12:04 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 13 Oct 2010 10:04:33 +0000 (12:04 +0200)
test/integration/framework

index a515ce0708cb4b788337b4e6231a245eecbd51e1..2d9ed35033650d303c0d116ca7ea1d14f61f389e 100644 (file)
@@ -64,6 +64,8 @@ runapt() {
        msgdebug "Executing: ${CCMD}$*${CDEBUG} "
        if [ -f ./aptconfig.conf ]; then
                APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$*
+        elif [ -f ../aptconfig.conf ]; then
+                APT_CONFIG=../aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$*
        else
                LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/$*
        fi