Files
pcas/src/tools/testmkdir
Jeff Hill fb624a76d2 installed
1996-11-22 20:49:43 +00:00

16 lines
177 B
Bash

#!/bin/sh
#
#
if [ $# -ne 1 ]
then
echo "USAGE:"
echo "$0 dirname"
echo 'Function: if dirname does not exist, create it.'
exit 2
fi
DIR=$1
test -d ${DIR} || mkdir ${DIR}