Jan Schampera schrieb:
OnTheEdge wrote:
I'm trying to check for a directory and create it if it doesn't exist as
follows:
CommonDir="../common"
if [ -d ${CommonDir} ]; then
mkdir "${CommonDir}"
fi
It works from the command line, but my script doesn't seem to like it and I
can't figure it ou
OnTheEdge wrote:
> I'm trying to check for a directory and create it if it doesn't exist as
> follows:
>
> CommonDir="../common"
> if [ -d ${CommonDir} ]; then
>mkdir "${CommonDir}"
> fi
>
> It works from the command line, but my script doesn't seem to like it and I
> can't figure it out.
>