Skip to content

Commit

Permalink
Use mkdir -p especially for latest which generally already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Dec 4, 2024
1 parent 1de98a6 commit 401e566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releng/org.eclipse.epp.config/tools/finalize-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fi

echo "----------------------------------------------------------------------------------------------"
echo "Prepare compositeArtifacts.xml/compositeContent.xml for "latest" that points at RELEASE_NAME"
$ECHO ${SSH} mkdir ${EPP_DOWNLOADS}/packages/latest/
$ECHO ${SSH} mkdir -p ${EPP_DOWNLOADS}/packages/latest/

TIMESTAMP=$(date +%s000)

Expand Down Expand Up @@ -96,7 +96,7 @@ $ECHO $SCP compositeArtifacts.xml "${SSHUSER}:"${EPP_DOWNLOADS}/packages/latest/

echo "----------------------------------------------------------------------------------------------"
echo "Prepare compositeArtifacts.xml/compositeContent.xml for next release that points at RELEASE_NAME"
$ECHO ${SSH} mkdir ${EPP_DOWNLOADS}/packages/${NEXT_RELEASE_NAME}/
$ECHO ${SSH} mkdir -p ${EPP_DOWNLOADS}/packages/${NEXT_RELEASE_NAME}/

TIMESTAMP=$(date +%s000)

Expand Down

0 comments on commit 401e566

Please sign in to comment.