Revision e34560c8 create

b/create
31 31
    IMAGE_FILE="${IMAGE_DIR}/${IMAGE_NAME}-${ARCH}.img"
32 32
elif [ "$IMAGE_TYPE" = "dump" ] ; then
33 33
    IMAGE_FILE="${IMAGE_DIR}/${IMAGE_NAME}-${ARCH}-root.dump"
34
    # Workaround for restore's non-unique /tmp/rstdir* and /tmp/rstmode* 
35
    export TMPDIR=$(mktemp -d /tmp/${INSTANCE_NAME}_XXXXXXXX)
36
    CLEANUP+=("rmdir --ignore-fail-on-non-empty $TMPDIR")
34 37
elif [ "$IMAGE_TYPE" = "ntfsclone" ]; then
35 38
    IMAGE_FILE="${IMAGE_DIR}/${IMAGE_NAME}-${ARCH}.img"
36 39
    OS_FAMILY="windows"

Also available in: Unified diff