view scripts/createdirectory.sh @ 1275:9f1711a85c56

added code to make sure TTC is replaced of recomputed and not having a value
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 19 Jun 2024 16:11:35 -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