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

Commit

Permalink
examples/semaphore.sh: fix style
Browse files Browse the repository at this point in the history
`shfmt -i 2 -w examples/semaphore.sh`
  • Loading branch information
schu committed Oct 18, 2018
1 parent 9701d54 commit d5125e0
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 d5125e0

Please sign in to comment.