view scripts/createdirectory.sh @ 210:e841ba9981e2

Merged.
author Francois Belisle <belisle.francois@gmail.com>
date Tue, 05 Jun 2012 14:10:25 -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