Create cache directory
Creating of cache directory was missed in disk-image-create script Change-Id: I4e5901bb455712d6403362a6aac48eaa93f62e29
This commit is contained in:
parent
e818db25dc
commit
a8d961e6ec
@ -115,6 +115,7 @@ while true ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
export DIB_IMAGE_CACHE=${DIB_IMAGE_CACHE:-~/.cache/image-create}
|
export DIB_IMAGE_CACHE=${DIB_IMAGE_CACHE:-~/.cache/image-create}
|
||||||
|
mkdir -p $DIB_IMAGE_CACHE
|
||||||
|
|
||||||
if [ "$CLEAR_ENV" = "1" -a "$HOME" != "" ]; then
|
if [ "$CLEAR_ENV" = "1" -a "$HOME" != "" ]; then
|
||||||
echo "Re-execing to clear environment."
|
echo "Re-execing to clear environment."
|
||||||
|
Loading…
Reference in New Issue
Block a user