view scripts/createdirectory.sh @ 976:7f5cbdc107c5

corrected bug in converting time horizon to frames for internal computations (results for TTC, pPET and PET will be in frames)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 05 Feb 2018 16:41:36 -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