view scripts/createdirectory.sh @ 101:5cc30ba3a933

change utils.py file permission
author Nicolas Saunier <nico@confins.net>
date Wed, 13 Jul 2011 15:01:43 -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