2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-25 04:03:41 +01:00

make shell scripts respect PATH

use the bash from PATH, not from /bin

fixes #141
This commit is contained in:
Hubert Kario 2018-05-13 19:33:05 +02:00
parent 528e94d613
commit 31761fa7b2
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
[[ ${1,,} == "-help" ]] || [[ ${#} -lt 1 ]]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
[[ ${1,,} == "--help" ]]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ ! -d ./ca_files ]; then
echo "Directory with collected CA certificates missing!" >&2