view scripts/createdirectory.sh @ 601:e1f3b789c632

add a definition of interaction and collision course intervals
author Mohamed Gomaa
date Thu, 02 May 2013 11:35:45 -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