By default DPK creates PS_CFG_HOME under the psadm2 home directory. Because of this, it makes assumptions that psadm2 has permission to create directories when creating PS_CFG_HOME. If we want this directory located elsewhere, say under $PSFT_BASE_DIR/cfg, this could be an invalid assumption.
This commit adds the ability to pre make the PS_CFG_HOME directory, if specified in the config. So, when the DPK runs it will have correct permission and ability to create PS_CFG_HOME.
By default DPK creates
PS_CFG_HOME
under thepsadm2
home directory. Because of this, it makes assumptions thatpsadm2
has permission to create directories when creatingPS_CFG_HOME
. If we want this directory located elsewhere, say under$PSFT_BASE_DIR/cfg
, this could be an invalid assumption.This commit adds the ability to pre make the
PS_CFG_HOME
directory, if specified in the config. So, when the DPK runs it will have correct permission and ability to createPS_CFG_HOME
.Also, example cleanup.