view scripts/createdirectory.sh @ 602:480c8edf177e

condition to make the minTTC is zero not 1 -need to refine-
author Mohamed Gomaa
date Thu, 02 May 2013 11:37: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