Mercurial > hg > nsaunier > traffic-intelligence
view scripts/createdirectory.sh @ 278:f21ef87f98f1
resolved issue 2 and problem with negative nframes parameter
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 14 Dec 2012 01:01:55 -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
