Mercurial > hg > nsaunier > traffic-intelligence
view scripts/createdirectory.sh @ 682:fbe29be25501 dev
corrected bug
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 05 Jun 2015 02:35:29 +0200 |
| 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
