Skip to content

Commit 3e32652

Browse files
authored
Merge pull request #122873 from YusukeTobo/patch-1
Proposal to fix the script errors for customizing Tomcat
2 parents 8376022 + dd1e2f6 commit 3e32652

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/app-service/configure-language-java.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,11 +699,12 @@ Here's a PowerShell script that completes these steps:
699699
# Delete previous Tomcat directory if it exists
700700
# In case previous config isn't completed or a new config should be forcefully installed
701701
if(Test-Path "$Env:LOCAL_EXPANDED\tomcat"){
702-
Remove-Item "$Env:LOCAL_EXPANDED\tomcat" --recurse
702+
Remove-Item "$Env:LOCAL_EXPANDED\tomcat" -Recurse
703703
}
704704
705705
# Copy Tomcat to local
706706
# Using the environment variable $AZURE_TOMCAT90_HOME uses the 'default' version of Tomcat
707+
New-Item "$Env:LOCAL_EXPANDED\tomcat" -ItemType Directory
707708
Copy-Item -Path "$Env:AZURE_TOMCAT90_HOME\*" -Destination "$Env:LOCAL_EXPANDED\tomcat" -Recurse
708709
709710
# Perform the required customization of Tomcat

0 commit comments

Comments
 (0)