Skip to content

Commit

Permalink
MINOR: Fix late build.sh changes with force argument now in the second
Browse files Browse the repository at this point in the history
place.
  • Loading branch information
dkorunic committed Jun 20, 2017
1 parent 80eec9e commit cc7718a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ HAPROXY_MINOR_OLD=$(awk '/^ENV HAPROXY_MINOR/ {print $NF}' ${DOCKERFILE})

HAPROXY_MINOR=$(awk '/^ENV HAPROXY_MINOR/ {print $NF}' ${DOCKERFILE})

if [ "x$1" != "xforce" ]; then
if [ "x$2" != "xforce" ]; then
if [ "x$HAPROXY_MINOR_OLD" = "x$HAPROXY_MINOR" ]; then
echo "No new releases, not building anything."
exit 0
Expand Down

0 comments on commit cc7718a

Please sign in to comment.