Mercurial Hosting > traffic-intelligence
annotate scripts/createdirectory.sh @ 478:d337bffd7283
Display of points in compute homography and step option to replay videos
A bug seems to remain with respect to trajectory bounds, to check
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 27 Mar 2014 11:40:28 -0400 |
parents | 626560624d55 |
children |
rev | line source |
---|---|
88
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
1 #!/bin/bash |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
2 DIRECTORY=$1 |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
3 if [[ ! -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
4 echo "creating directory ${DIRECTORY}" |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
5 mkdir "${DIRECTORY}" |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
6 fi |
626560624d55
added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
7 #if [[ -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then |