Mercurial Hosting > traffic-intelligence
view scripts/createdirectory.sh @ 194:09c7881073f3
connected commponents works, but issue with removing the vertices
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 12 Dec 2011 18:32:10 -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