From 1e9e4c4dcebda73f2ebee7a61667b0efc8d23960 Mon Sep 17 00:00:00 2001 From: Yuki Kondo Date: Fri, 31 May 2019 00:49:58 +0000 Subject: [PATCH] [FAB-9329] Remove the unused variable in BYFN/EYFN This CR removes the unused variable 'OS_ARCH' from byfn.sh, eyfn.sh and interest swap in fabric-samples. FAB-9329 #done Change-Id: I0d1b87679d66bec1d9e4aaee9e770305f9c8f4b9 Signed-off-by: Yuki Kondo --- first-network/byfn.sh | 3 --- first-network/eyfn.sh | 3 --- interest_rate_swaps/network/network.sh | 3 --- 3 files changed, 9 deletions(-) diff --git a/first-network/byfn.sh b/first-network/byfn.sh index 8771ba540b..08ad46c2de 100755 --- a/first-network/byfn.sh +++ b/first-network/byfn.sh @@ -480,9 +480,6 @@ function generateChannelArtifacts() { echo } -# Obtain the OS and Architecture string that will be used to select the correct -# native binaries for your platform, e.g., darwin-amd64 or linux-amd64 -OS_ARCH=$(echo "$(uname -s | tr '[:upper:]' '[:lower:]' | sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}') # timeout duration - the duration the CLI should wait for a response from # another container before giving up CLI_TIMEOUT=10 diff --git a/first-network/eyfn.sh b/first-network/eyfn.sh index 490ece5ffc..5ce4a219f1 100755 --- a/first-network/eyfn.sh +++ b/first-network/eyfn.sh @@ -218,9 +218,6 @@ if [ ! -d crypto-config ]; then exit 1 fi -# Obtain the OS and Architecture string that will be used to select the correct -# native binaries for your platform -OS_ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}') # timeout duration - the duration the CLI should wait for a response from # another container before giving up CLI_TIMEOUT=10 diff --git a/interest_rate_swaps/network/network.sh b/interest_rate_swaps/network/network.sh index 5338ecf045..999194b176 100755 --- a/interest_rate_swaps/network/network.sh +++ b/interest_rate_swaps/network/network.sh @@ -184,9 +184,6 @@ function generateChannelArtifacts() { fi } -# Obtain the OS and Architecture string that will be used to select the correct -# native binaries for your platform, e.g., darwin-amd64 or linux-amd64 -OS_ARCH=$(echo "$(uname -s | tr '[:upper:]' '[:lower:]' | sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}') CHANNEL_NAME="irs" COMPOSE_FILE=docker-compose.yaml COMPOSE_PROJECT_NAME=fabric-irs