aboutsummaryrefslogtreecommitdiffstats
path: root/virtualenv/virt
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-04 22:55:23 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:27:54 +0200
commit71f227f2e30630f7bfbe1e4520efb727779b3b16 (patch)
tree765ca15c44e4e54da9cad09bd733383267f2b3f0 /virtualenv/virt
parent7c986ba5b0ab45485b61fe56ba73abe1fa2507ed (diff)
wibble
Diffstat (limited to 'virtualenv/virt')
-rwxr-xr-xvirtualenv/virt1
1 files changed, 1 insertions, 0 deletions
diff --git a/virtualenv/virt b/virtualenv/virt
index 99a058d..2bcbe4b 100755
--- a/virtualenv/virt
+++ b/virtualenv/virt
@@ -61,6 +61,7 @@ install() {
[ $# -eq 1 -o $# -eq 2 ] || usage
local name=$1
local disk=${2:-$root/images/${name}.qcow2}
+ [ -d "$root/images" ] || mkdir "$root/images"
local darch
case "${ARCH:=$(/bin/uname -m)}" in