From 48e6ceebe9c96025b85974efa41b6c30feeb265b Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Mon, 24 Feb 2014 10:19:00 +0100 Subject: [PATCH] Fix unbound variable in debian element Change-Id: Ie4bf86fa0ce387a55f1c390f58e58d17267ae61d --- elements/debian/root.d/08-debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/debian/root.d/08-debootstrap b/elements/debian/root.d/08-debootstrap index ea9a6e9a..a03b9d58 100755 --- a/elements/debian/root.d/08-debootstrap +++ b/elements/debian/root.d/08-debootstrap @@ -23,7 +23,7 @@ else fi DIB_RELEASE=${DIB_RELEASE:-unstable} DEBOOTSTRAP_TARBALL=$DIB_IMAGE_CACHE/debootstrap-${DISTRO_NAME}-${DIB_RELEASE}-${ARCH}.tar.gz -if [ -n "$DIB_DEBIAN_MIRROR" ]; then +if [ -n "${DIB_DEBIAN_MIRROR:-}" ]; then echo "Use of DIB_DEBIAN_MIRROR environment variable to configure mirror is deprecated." echo "Please use DIB_DISTRIBUTION_MIRROR instead." DIB_DISTRIBUTION_MIRROR=$DIB_DEBIAN_MIRROR