CODENVY-1544: workaround zero-length ws agent archive in snapshots
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>6.19.x
parent
50cd7e1366
commit
383ae5edb6
File diff suppressed because one or more lines are too long
|
|
@ -231,7 +231,7 @@ WORKSPACE_MASTER_URI=$(echo $CHE_API | cut -d / -f 1-3)
|
|||
eval "DOWNLOAD_AGENT_BINARIES_URI=${DOWNLOAD_AGENT_BINARIES_URI}"
|
||||
|
||||
|
||||
if [ -f "${LOCAL_AGENT_BINARIES_URI}" ]
|
||||
if [ -f "${LOCAL_AGENT_BINARIES_URI}" ] && [ -s "${LOCAL_AGENT_BINARIES_URI}" ]
|
||||
then
|
||||
AGENT_BINARIES_URI="file://${LOCAL_AGENT_BINARIES_URI}"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue