view scripts/createdirectory.sh @ 1174:2f89dc3d99e5

clarification of worldToImageProject method
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 17 Dec 2021 14:26:45 -0500
parents 626560624d55
children
line wrap: on
line source

#!/bin/bash
DIRECTORY=$1
if [[ ! -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then
    echo "creating directory ${DIRECTORY}"
    mkdir "${DIRECTORY}"
fi
#if [[ -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then