summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-28 13:26:11 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-28 13:26:11 +0100
commit5a635ee4bafd8ba4cde6e50ea256e36d2c55dc64 (patch)
tree74ecb5be80cd4f957f96be6043ee79d528a80f55
parentab53c018fbc7aa01c0d89586c0aa98bc944dd9e4 (diff)
ensure that we are building really inside of our tmp directory
-rw-r--r--test/integration/framework10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/framework b/test/integration/framework
index b95667670..c85914289 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -219,7 +219,7 @@ buildsimplenativepackage() {
else
DISTSECTION="$(echo "$SECTION" | cut -d'/' -f 1)"
fi
- local BUILDDIR=incoming/${NAME}-${VERSION}
+ local BUILDDIR=${TMPWORKINGDIRECTORY}/incoming/${NAME}-${VERSION}
msgninfo "Build package ${NAME} in ${VERSION} for ${RELEASE} in ${DISTSECTION}… "
mkdir -p $BUILDDIR/debian/source
@@ -259,12 +259,12 @@ Architecture: $ARCH" > ${BUILDDIR}/debian/control
(cd ${BUILDDIR}; dpkg-gencontrol)
(cd ${BUILDDIR}/debian/tmp; md5sum $(find usr/ -type f) > DEBIAN/md5sums)
- dpkg-deb --build ${BUILDDIR}/debian/tmp incoming > /dev/null
- echo "pool/${NAME}_${VERSION}_${ARCH}.deb" >> incoming/${RELEASE}.${DISTSECTION}.pkglist
+ dpkg-deb --build ${BUILDDIR}/debian/tmp ${BUILDDIR}/.. > /dev/null
+ echo "pool/${NAME}_${VERSION}_${ARCH}.deb" >> ${BUILDDIR}/../${RELEASE}.${DISTSECTION}.pkglist
for SRC in $SRCS; do
- echo "pool/${SRC}" >> incoming/${RELEASE}.${DISTSECTION}.srclist
+ echo "pool/${SRC}" >> ${BUILDDIR}/../${RELEASE}.${DISTSECTION}.srclist
done
- rm -rf "incoming/${NAME}-${VERSION}"
+ rm -rf "${BUILDDIR}"
msgdone "info"
}