view scripts/createdirectory.sh @ 1168:d71a4d174b1a

corrected potential bug with dtype in image to world projection
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 06 Jul 2021 00:28:24 -0400
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