From 3202a8f69cd7e7ebf40823eb49be28d158e35795 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 21 Apr 2013 21:31:51 +0100 Subject: [PATCH] Fix Ubuntu image fetching. Set a bash option which has been breaking cold builds due to an extended glob pattern. Change-Id: Ideab0fca057eb3744002ae137ac1f988b61bb560 --- elements/ubuntu/root.d/10-cache-ubuntu-tarball | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elements/ubuntu/root.d/10-cache-ubuntu-tarball b/elements/ubuntu/root.d/10-cache-ubuntu-tarball index a03fafe48..fff8cca90 100755 --- a/elements/ubuntu/root.d/10-cache-ubuntu-tarball +++ b/elements/ubuntu/root.d/10-cache-ubuntu-tarball @@ -6,6 +6,8 @@ set -e [ -n "$ARCH" ] [ -n "$TARGET_ROOT" ] +shopt -s extglob + IMG_PATH=~/.cache/image-create DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://cloud-images.ubuntu.com/} DIB_RELEASE=${DIB_RELEASE:-quantal}