Skip to content

Commit 81e224a

Browse files
author
Cephas Lin
committed
changes from #dd1e2f6 and #c640f1e
1 parent 799b86e commit 81e224a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,14 @@ if(Test-Path "$Env:LOCAL_EXPANDED\tomcat\config_done_marker"){
159159
# Delete previous Tomcat directory if it exists
160160
# In case previous config isn't completed or a new config should be forcefully installed
161161
if(Test-Path "$Env:LOCAL_EXPANDED\tomcat"){
162-
Remove-Item "$Env:LOCAL_EXPANDED\tomcat" --recurse
162+
Remove-Item "$Env:LOCAL_EXPANDED\tomcat" Recurse
163163
}
164164
165165
md -Path "$Env:LOCAL_EXPANDED\tomcat"
166166
167167
# Copy Tomcat to local
168168
# Using the environment variable $AZURE_TOMCAT90_HOME uses the 'default' version of Tomcat
169+
New-Item "$Env:LOCAL_EXPANDED\tomcat" -ItemType Directory
169170
Copy-Item -Path "$Env:AZURE_TOMCAT90_HOME\*" "$Env:LOCAL_EXPANDED\tomcat" -Recurse
170171
171172
# Perform the required customization of Tomcat

0 commit comments

Comments
 (0)