Skip to content

Commit

Permalink
fix checks in if condition (redhat-developer#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
syamgk authored Mar 19, 2019
1 parent f25c7f3 commit f5dc293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemble-and-restart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -x
set -eo pipefail

# If WorkingDir is injected as an env from odo and destination path is not equal to WorkingDir(if not copying directly to working dir) and deployment dir is not working dir
if [ ! -z "${ODO_S2I_WORKING_DIR}" ] && ([ "${ODO_S2I_SRC_BIN_PATH}" != "${ODO_S2I_WORKING_DIR}" ] && [ "${ODO_S2I_DEPLOYMENT_DIR}" != "${ODO_S2I_WORKING_DIR}" ]); then
if [ ! -z "${ODO_S2I_WORKING_DIR}" ] && [ "${ODO_S2I_SRC_BIN_PATH}" != "${ODO_S2I_WORKING_DIR}" ]; then

# If ODO_SRC_BACKUP_DIR is injected by odo
if [ -n "$ODO_SRC_BACKUP_DIR" ]; then
Expand Down

0 comments on commit f5dc293

Please sign in to comment.