Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yakumioto/hlf-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
yakumioto committed Jan 2, 2020
2 parents 6b604a6 + 41aaf14 commit 599ac25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test-network/hlfn.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh


function printHelp() {
Expand All @@ -15,7 +15,11 @@ function printHelp() {

if [[ ! -f "../bin/hlf-deploy" ]]; then
mkdir -p ../bin
curl -L -o ../bin/hlf-deploy https://github.com/yakumioto/hlf-deploy/releases/download/v0.1.0/hlf-deploy
if [[ "$(uname)" == "Darwin" ]]; then
curl -L -o ../bin/hlf-deploy https://github.com/yakumioto/hlf-deploy/releases/download/v0.2.0/hlf-deploy-darwin
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
curl -L -o ../bin/hlf-deploy https://github.com/yakumioto/hlf-deploy/releases/download/v0.2.0/hlf-deploy-linux
fi
chmod +x ../bin/hlf-deploy
fi

Expand Down

0 comments on commit 599ac25

Please sign in to comment.