#!/bin/bash

# Script to invoke mkdir on file passed in.  This script is intended for use
# by Code Update and will invoke a create directory for the file.
#
#Usage: mkdirUPD [OPTION] DIRECTORY...
#Create the DIRECTORY(ies), if they do not already exist.
#
#  -Z, --context=CONTEXT (SELinux) set security context to CONTEXT
#Mandatory arguments to long options are mandatory for short options too.
#  -m, --mode=MODE   set permission mode (as in chmod), not rwxrwxrwx - umask
#  -p, --parents     no error if existing, make parent directories as needed
#  -v, --verbose     print a message for each created directory
#      --help     display this help and exit
#      --version  output version information and exit
#
# Exit status = 0 if no errors occur; non-zero otherwise.
#
# Module History:
# 00 08/03/2006  E. Leet     Initial release
# 01 09/26/2006  M. Antes    572107 - exit with return code from command

actzTrace "ESA    T: -> mkdirUPD $*"

/bin/mkdir $*
cmdRC=$?

actzTrace 'ESA    T: <- mkdirUPD'

exit $cmdRC
