Mercurial Hosting > traffic-intelligence
view scripts/createdirectory.sh @ 290:df58d361f19e
refactoring of Interval and TimeInterval using class methods (intersection, union)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 29 Jan 2013 18:23:47 -0500 |
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