File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -159,13 +159,14 @@ if(Test-Path "$Env:LOCAL_EXPANDED\tomcat\config_done_marker"){
159
159
# Delete previous Tomcat directory if it exists
160
160
# In case previous config isn't completed or a new config should be forcefully installed
161
161
if(Test-Path "$Env:LOCAL_EXPANDED\t omcat"){
162
- Remove-Item "$Env:LOCAL_EXPANDED\t omcat" --recurse
162
+ Remove-Item "$Env:LOCAL_EXPANDED\t omcat" Recurse
163
163
}
164
164
165
165
md -Path "$Env:LOCAL_EXPANDED\t omcat"
166
166
167
167
# Copy Tomcat to local
168
168
# Using the environment variable $AZURE_TOMCAT90_HOME uses the 'default' version of Tomcat
169
+ New-Item "$Env:LOCAL_EXPANDED\t omcat" -ItemType Directory
169
170
Copy-Item -Path "$Env:AZURE_TOMCAT90_HOME\* " "$Env:LOCAL_EXPANDED\t omcat" -Recurse
170
171
171
172
# Perform the required customization of Tomcat
You can’t perform that action at this time.
0 commit comments