Skip to content

Commit

Permalink
moving mkdir outside of if statements in case the user want to use a …
Browse files Browse the repository at this point in the history
…folder that does not exist yet (adoptium)
  • Loading branch information
jandrlik committed Feb 21, 2024
1 parent 9777c12 commit bf55bdc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testHeadlessComponents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,16 @@ source ${RFaT}/jtreg-shell-xml.sh

if [[ -z "${WORKSPACE}" ]]; then
WORKSPACE=~/workspace
mkdir -p $WORKSPACE
fi

mkdir -p $WORKSPACE

if [ "x$TMPRESULTS" == "x" ]; then
TMPRESULTS=$WORKSPACE
mkdir -p $TMPRESULTS
fi

mkdir -p $TMPRESULTS

touch $TMPRESULTS/testHeadlessComponent.txt


Expand Down

0 comments on commit bf55bdc

Please sign in to comment.