Use "#!/usr/bin/env bash" in shebangs instead of "#!/bin/bash"
parent
6447cdb1b7
commit
20eed82e48
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{define "main" -}}
|
{{define "main" -}}
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
LOGS={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}/logs
|
LOGS={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}/logs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ $# -ne 1 ] && [ $# -ne 4 ]
|
if [ $# -ne 1 ] && [ $# -ne 4 ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
go run build/templates/generate.go $1 > /dev/null
|
go run build/templates/generate.go $1 > /dev/null
|
||||||
mv build/pkg-defs/blockbook/blockchaincfg.json build
|
mv build/pkg-defs/blockbook/blockchaincfg.json build
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ $# -lt 2 ]
|
if [ $# -lt 2 ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
echo "Usage: $(basename $0) host" 1>&2
|
echo "Usage: $(basename $0) host" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue