view scripts/createdirectory.sh @ 254:4b71e81e3383

Fusion
author Jeep-Tour@Jeep-Tour-PC
date Mon, 23 Jul 2012 12: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