From 4de952a4dd63916ff1ffa73a4a88b33c5501a2dc Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 15 Jun 2021 15:52:49 +0800 Subject: [PATCH] Make Shell Scripts' Shebang more consistent Consider most of the scripts use bash in the project, should maybe just use it, instead of /bin/sh in all the scripts. --- utils/docker-debian10.tls13only.start.sh | 1 + utils/gmap2testssl.sh | 4 +++- utils/make-openssl.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/docker-debian10.tls13only.start.sh b/utils/docker-debian10.tls13only.start.sh index cda5c7f..bf63953 100755 --- a/utils/docker-debian10.tls13only.start.sh +++ b/utils/docker-debian10.tls13only.start.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # no early data, but TLS 1.3 with debian:buster (sid simlar in Feb 2019) diff --git a/utils/gmap2testssl.sh b/utils/gmap2testssl.sh index 7078d7e..e4275dc 100755 --- a/utils/gmap2testssl.sh +++ b/utils/gmap2testssl.sh @@ -1,4 +1,6 @@ -#/bin/sh -e +#!/usr/bin/env bash + +set -e # utility which converts grepable nmap outout to testssl's file input diff --git a/utils/make-openssl.sh b/utils/make-openssl.sh index a462778..931406a 100755 --- a/utils/make-openssl.sh +++ b/utils/make-openssl.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # This script compiles the "bad openssl" version, 1.0.2 supporting legacy # cryptography for Linux, FreeBSD and Darwin.