view scripts/createdirectory.sh @ 539:53587cc86f7d

added one test script that runs C++, Python and future script tests
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 04 Jul 2014 13:08:58 -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