Merge "Make the MIRROR_TARGET directory if it didn't exist"

This commit is contained in:
Jenkins 2014-02-11 14:38:10 +00:00 committed by Gerrit Code Review
commit 983f918804

View File

@ -5,5 +5,5 @@ set -eu
MIRROR_SOURCE=~/.cache/image-create/pypi/mirror/ MIRROR_SOURCE=~/.cache/image-create/pypi/mirror/
MIRROR_TARGET=$TMP_MOUNT_PATH/tmp/pypi MIRROR_TARGET=$TMP_MOUNT_PATH/tmp/pypi
sudo mkdir -p $MIRROR_TARGET sudo mkdir -p $MIRROR_SOURCE $MIRROR_TARGET
sudo mount --bind $MIRROR_SOURCE $TMP_MOUNT_PATH/tmp/pypi sudo mount --bind $MIRROR_SOURCE $TMP_MOUNT_PATH/tmp/pypi