view scripts/createdirectory.sh @ 1091:3945d239634e

new pip version 0.2.3
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 22 Jan 2019 09:57:26 -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