Mercurial > hg > nsaunier > traffic-intelligence
view scripts/createdirectory.sh @ 209:746d02cea65f
Added function to read Prototype indexes matches.
| author | Francois Belisle <belisle.francois@gmail.com> |
|---|---|
| date | Tue, 05 Jun 2012 14:08:46 -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
