Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1455 from hyperledger/hotfix/portability-to-main
Browse files Browse the repository at this point in the history
Portability branch > master
  • Loading branch information
Silas Davis authored Mar 16, 2021
2 parents a4c0f43 + 5a95d00 commit 87144bf
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# ----------------------------------------------------------

SHELL := /bin/bash
SHELL := /usr/bin/env bash
REPO := $(shell pwd)

# Our own Go files containing the compiled bytecode of solidity files as a constant
Expand Down
2 changes: 1 addition & 1 deletion js/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

export this="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$this/../tests/test_runner.sh"
Expand Down
2 changes: 1 addition & 1 deletion scripts/commit_hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
commit=$(git describe --tags)
dirty=$(git ls-files -m)
if [[ -n ${dirty} ]]; then
commit="$commit+dirty.$(echo ${dirty} | git hash-object --stdin | head -c8)"
commit="$commit+dirty.$(echo ${dirty} | git hash-object --stdin | dd bs=8 count=1 status=none)"
fi
echo "$commit"

2 changes: 1 addition & 1 deletion scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

Expand Down
4 changes: 2 additions & 2 deletions tests/dump/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

# Test the dump restore functionality
#
Expand Down Expand Up @@ -48,7 +48,7 @@ echo -e "${title//?/-}\n${title}\n${title//?/-}\n"

$burrow_bin dump remote -b dump.bin
$burrow_bin dump remote dump.json
height=$(head -1 dump.json | jq .Height)
height=$(head -n 1 dump.json | jq .Height)

kill $burrow_pid

Expand Down
2 changes: 1 addition & 1 deletion tests/keys_server/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

# tests
# run the suite with and without the daemon
Expand Down
4 changes: 2 additions & 2 deletions tests/web3/truffle.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

chain=$(mktemp -d)
cd $chain
Expand Down Expand Up @@ -30,4 +30,4 @@ module.exports = {
}
};
EOF
truffle test --network burrow
truffle test --network burrow

0 comments on commit 87144bf

Please sign in to comment.