view scripts/createdirectory.sh @ 273:e4d232f9fc39

-Win32 OpenCV 2.3.4 -Fix for the retrieval of win32 dependancies (WGet was too old and unable to get file over https)
author Jeep-Tour@Jeep-Tour-PC
date Wed, 14 Nov 2012 16:21:14 -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