Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #33 from kinvolk/schu/semaphore-example-style-fix
Browse files Browse the repository at this point in the history
examples/semaphore.sh: fix style
  • Loading branch information
schu authored Oct 29, 2018
2 parents 9701d54 + d5125e0 commit 78b8eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/semaphore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ readonly dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Download rkt if not available yet as Semaphore CI
# doesn't have rkt at the time of writing
if [[ ! -f "./rkt/rkt" ]] \
|| [[ ! "$(./rkt/rkt version | awk '/rkt Version/{print $3}')" == "${rkt_version}" ]]; then
if [[ ! -f "./rkt/rkt" ]] ||
[[ ! "$(./rkt/rkt version | awk '/rkt Version/{print $3}')" == "${rkt_version}" ]]; then

curl -LsS "https://github.com/coreos/rkt/releases/download/v${rkt_version}/rkt-v${rkt_version}.tar.gz" \
-o rkt.tgz
Expand Down

0 comments on commit 78b8eca

Please sign in to comment.