annotate scripts/createdirectory.sh @ 554:7d051afcb22d

added back simple makefile to install the feature-based tracking executable and the scripts in /usr/local/bin so that they are accessible without typing the path to the source folder
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 11 Jul 2014 16:25:57 -0400
parents 626560624d55
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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