mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 23:13:41 +01:00
make shell scripts respect PATH
use the bash from PATH, not from /bin fixes #141
This commit is contained in:
parent
528e94d613
commit
31761fa7b2
2
cscan.sh
2
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
|
||||
[[ ${1,,} == "-help" ]] || [[ ${#} -lt 1 ]]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
|
||||
[[ ${1,,} == "--help" ]]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ ! -d ./ca_files ]; then
|
||||
echo "Directory with collected CA certificates missing!" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user