view scripts/createdirectory.sh @ 251:4978b5baf8f1

Win32 version for traffic intelligence. Use the README-Win32.txt to know how to fetch the dependencies. A batch file is included to automate most of the process
author Jeep-Tour@Jeep-Tour-PC
date Mon, 23 Jul 2012 12:27:50 -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