aboutsummaryrefslogtreecommitdiff
path: root/examples/B91dpkg-i
diff options
context:
space:
mode:
Diffstat (limited to 'examples/B91dpkg-i')
-rw-r--r--examples/B91dpkg-i10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/B91dpkg-i b/examples/B91dpkg-i
index 00f2561..55bd7c5 100644
--- a/examples/B91dpkg-i
+++ b/examples/B91dpkg-i
@@ -7,22 +7,22 @@ echo "Trying to install resulting packages and test upgrades"
set -ex
-PKGNAMES=$(cd /tmp/buildd && ls -1 *.deb | sed 's/_.*$//' )
+PKGNAMES=$(cd "$BUILDDIR" && ls -1 *.deb | sed 's/_.*$//' )
# install-remove check
-dpkg -i /tmp/buildd/*.deb
+dpkg -i "$BUILDDIR"/*.deb
dpkg --remove $PKGNAMES
# install-purge check
-dpkg -i /tmp/buildd/*.deb
+dpkg -i "$BUILDDIR"/*.deb
dpkg --purge $PKGNAMES
# upgrade-remove check
apt-get install -y "${APTGETOPT[@]}" $PKGNAMES || true
-dpkg -i /tmp/buildd/*.deb
+dpkg -i "$BUILDDIR"/*.deb
dpkg --remove $PKGNAMES
# upgrade-purge check
apt-get install -y "${APTGETOPT[@]}" $PKGNAMES || true
-dpkg -i /tmp/buildd/*.deb
+dpkg -i "$BUILDDIR"/*.deb
dpkg --purge $PKGNAMES