Merge "Make the MIRROR_TARGET directory if it didn't exist"
This commit is contained in:
commit
983f918804
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user