Skip to content

Commit ed32869

Browse files
authored
Oprava build - cp při prvním nasazení (#736)
* cp pri prvnim deploy * cp pri prvnim deploy
1 parent f8c8479 commit ed32869

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -158,27 +158,27 @@
158158

159159
<phingcall target="deploy:ssh">
160160
<property name="comment" value="Copying custom CSS"/>
161-
<property name="command" value="cp ${deploy.workDir}/www/css/web/style.css ${deploy.release}/www/css/web | true"/>
161+
<property name="command" value="cp ${deploy.workDir}/www/css/web/style.css ${deploy.release}/www/css/web || true"/>
162162
</phingcall>
163163

164164
<phingcall target="deploy:ssh">
165165
<property name="comment" value="Copying old log directory"/>
166-
<property name="command" value="cp -r ${deploy.workDir}/www/../log ${deploy.release} | true"/>
166+
<property name="command" value="cp -r ${deploy.workDir}/www/../log ${deploy.release} || true"/>
167167
</phingcall>
168168

169169
<phingcall target="deploy:ssh">
170170
<property name="comment" value="Copying old backup directory"/>
171-
<property name="command" value="cp -r ${deploy.workDir}/www/../backup ${deploy.release} | true"/>
171+
<property name="command" value="cp -r ${deploy.workDir}/www/../backup ${deploy.release} || true"/>
172172
</phingcall>
173173

174174
<phingcall target="deploy:ssh">
175175
<property name="comment" value="Copying old img directory"/>
176-
<property name="command" value="cp -r ${deploy.workDir}/www/img ${deploy.release}/www | true"/>
176+
<property name="command" value="cp -r ${deploy.workDir}/www/img ${deploy.release}/www || true"/>
177177
</phingcall>
178178

179179
<phingcall target="deploy:ssh">
180180
<property name="comment" value="Copying old files directory"/>
181-
<property name="command" value="cp -r ${deploy.workDir}/www/files ${deploy.release}/www | true"/>
181+
<property name="command" value="cp -r ${deploy.workDir}/www/files ${deploy.release}/www || true"/>
182182
</phingcall>
183183

184184
<phingcall target="deploy:ssh">

0 commit comments

Comments
 (0)