I keep getting this at stdout "mkdir: usage: mkdir [-m mode] [-p] dirname ..."
Posted on 2006-06-26
This is really odd.
I keep receiving the following line at stdout:
"mkdir: usage: mkdir [-m mode] [-p] dirname ..."
I have the following in my Korn Shell script:
if [[ ! -d $JOB_DIR ]]; then
mkdir -p "$JOB_DIR"
I tried the mode parameter, but still get this message.
Thoughts or suggestions on how to get rid of this message is greatly appreciated.