Use "#!/usr/bin/env bash" in shebangs instead of "#!/bin/bash"

pull/208/head
Vladyslav Burzakovskyy 2019-06-17 15:54:56 +02:00 committed by Martin
parent 6447cdb1b7
commit 20eed82e48
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [ $# -lt 2 ]; then

View File

@ -1,5 +1,5 @@
{{define "main" -}}
#!/bin/bash
#!/usr/bin/env bash
set -e
LOGS={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}/logs

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [ $# -ne 2 ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $# -ne 1 ] && [ $# -ne 4 ]
then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
go run build/templates/generate.go $1 > /dev/null
mv build/pkg-defs/blockbook/blockchaincfg.json build

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $# -lt 2 ]
then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $# -ne 1 ]; then
echo "Usage: $(basename $0) host" 1>&2