commit | cc197481ad52236f27e6c34a72f0fbc0f78f95bd | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Thu Nov 03 14:10:48 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Thu Nov 03 14:10:48 2011 -0700 |
tree | 7052cc7d634ebe7af8affbd6f1f9f14e206261e0 | |
parent | a81bbbda93e11357b818cc5cba074ce5bd300a93 [diff] | |
parent | 23324e94e2f44eb685f7c3decf7ab75d3ed4c60c [diff] |
Merge pull request #160 from cloudbuilders/mk_cachedir create the uec cachedir if it doesn't exist.
diff --git a/tools/get_uec_image.sh b/tools/get_uec_image.sh index 3d62bba..cb59b9a 100755 --- a/tools/get_uec_image.sh +++ b/tools/get_uec_image.sh
@@ -114,6 +114,7 @@ # Get the UEC image UEC_NAME=$DIST_NAME-server-cloudimg-amd64 if [ ! -e $CACHEDIR/$UEC_NAME-disk1.img ]; then + mkdir -p $CACHEDIR (cd $CACHEDIR && wget -N http://uec-images.ubuntu.com/$DIST_NAME/current/$UEC_NAME-disk1.img) fi