view scripts/createdirectory.sh @ 1063:3c37d8d20e97

minor addition to process.py
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 13 Jul 2018 09:59:01 -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