diff --git a/cscan.sh b/cscan.sh index 2d2eb86..6ba4b76 100755 --- a/cscan.sh +++ b/cscan.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null if [ ! -d ./tlslite ]; then echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloading..." 1>&2 diff --git a/top1m/make_ca_files.sh b/top1m/make_ca_files.sh index a536f90..528da65 100755 --- a/top1m/make_ca_files.sh +++ b/top1m/make_ca_files.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \ [[ ${1,,} == "-help" ]] || [[ ${#} -lt 1 ]]; then diff --git a/top1m/make_ca_trusted.sh b/top1m/make_ca_trusted.sh index e5df79e..5a299d1 100755 --- a/top1m/make_ca_trusted.sh +++ b/top1m/make_ca_trusted.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \ [[ ${1,,} == "--help" ]]; then diff --git a/top1m/process-certificate-statistics.sh b/top1m/process-certificate-statistics.sh index dbf01e9..c7d7109 100755 --- a/top1m/process-certificate-statistics.sh +++ b/top1m/process-certificate-statistics.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ ! -d ./ca_files ]; then echo "Directory with collected CA certificates missing!" >&2