Skip to content

Commit

Permalink
Merge pull request #149 from tomato42/bash-env-fix
Browse files Browse the repository at this point in the history
make shell scripts respect PATH
  • Loading branch information
jvehent authored May 19, 2018
2 parents a614389 + 31761fa commit b0548df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cscan.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion top1m/make_ca_files.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
[[ ${1,,} == "-help" ]] || [[ ${#} -lt 1 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion top1m/make_ca_trusted.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ ${1,,} == "-h" ]] || [[ ${1,,} == "-help" ]] || \
[[ ${1,,} == "--help" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion top1m/process-certificate-statistics.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [ ! -d ./ca_files ]; then
echo "Directory with collected CA certificates missing!" >&2
Expand Down

0 comments on commit b0548df

Please sign in to comment.