view scripts/createdirectory.sh @ 413:8f8f4375e441

forgot to add homography rescaling script
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 02 Sep 2013 23:46:31 -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