Skip to content

Commit

Permalink
fix edit of {userid} in datasetPrefx
Browse files Browse the repository at this point in the history
Signed-off-by: John Davies <daviesja@uk.ibm.com>
  • Loading branch information
John-A-Davies committed Oct 3, 2019
1 parent beac7ce commit 5a36f82
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/zowe-parse-yaml.sh
Expand Up @@ -67,12 +67,7 @@ do
# Look for datasetPrefix= beneath install:
if [[ $key == "datasetPrefix" ]] && [[ $section == "install" ]]
then
if [[ $value == "{userid}" ]]
then
ZOWE_DSN_PREFIX=${USER:-${USERNAME:-${LOGNAME}}}
else
ZOWE_DSN_PREFIX=$value
fi
ZOWE_DSN_PREFIX=`echo "$value" | sed "s/{userid}/${USER:-${USERNAME:-${LOGNAME}}}/"`
export ZOWE_DSN_PREFIX
fi
# Look for jobsAPIPort= beneath zos-services:
Expand Down

0 comments on commit 5a36f82

Please sign in to comment.