From: Benjamin Drung Date: Fri, 25 Jul 2014 22:19:38 +0000 (+0200) Subject: .pbuilderrc: Make sure that $DIST is set X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=8d2479fa0df118ebcf55aaa3248a1f8b36a8f7aa;p=profitbricks%2Fjenkins-build-scripts.git .pbuilderrc: Make sure that $DIST is set --- 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