From 8d2479fa0df118ebcf55aaa3248a1f8b36a8f7aa Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Sat, 26 Jul 2014 00:19:38 +0200 Subject: [PATCH] .pbuilderrc: Make sure that $DIST is set --- .pbuilderrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pbuilderrc b/.pbuilderrc index 3c29f09..af68e26 100644 --- a/.pbuilderrc +++ b/.pbuilderrc @@ -16,6 +16,10 @@ EXPERIMENTAL_PBNAME="experimental" EXTRAPACKAGES="lintian vim python python-git kernel-package cpio devscripts fakeroot module-assistant debhelper html2text dctrl-tools python-support python-sqlalchemy-ext less dpatch maven2 pbzip2 pigz rsync cdbs quilt git-core wget toilet figlet openjdk-6-jdk openjdk-6-jre-headless openjdk-6-jre-lib openssh-client build-essential subversion qemu-kvm libvirt-bin cppcheck sloccount debootstrap ldap-utils pxz python-apt python-debian pixz python-argparse" EXTRA_REPO="" APTGETOPT=('--force-yes') +if test -z "$DIST"; then + echo "${ECHO_PREFIX}Variable \$DIST is either not set or empty." >&2 + exit 1 +fi : ${PB_SUITE:="pre-staging"} case "$DIST" in -- 2.39.5