Blame SOURCES/0036-Use-portable-shebangs-bin-bash-usr-bin-env-bash.patch

d1e1c8
From 07de085dabab8daaea589b597e3915893cc98445 Mon Sep 17 00:00:00 2001
d1e1c8
From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com>
d1e1c8
Date: Fri, 26 Apr 2019 11:41:02 +0200
d1e1c8
Subject: [PATCH 36/62] Use portable shebangs: /bin/bash -> /usr/bin/env bash
d1e1c8
d1e1c8
Upstream-commit-id: 6a73ca814af
d1e1c8
---
d1e1c8
 Cryptlib/update.sh | 2 +-
d1e1c8
 make-certs         | 4 +++-
d1e1c8
 2 files changed, 4 insertions(+), 2 deletions(-)
d1e1c8
d1e1c8
diff --git a/Cryptlib/update.sh b/Cryptlib/update.sh
d1e1c8
index 31a082d4db6..7ea59831a06 100755
d1e1c8
--- a/Cryptlib/update.sh
d1e1c8
+++ b/Cryptlib/update.sh
d1e1c8
@@ -1,4 +1,4 @@
d1e1c8
-#!/bin/bash
d1e1c8
+#!/usr/bin/env bash
d1e1c8
 
d1e1c8
 DIR=$1
d1e1c8
 OPENSSL_VERSION="1.0.2k"
d1e1c8
diff --git a/make-certs b/make-certs
d1e1c8
index 3e9293b2497..6f40b234d6a 100755
d1e1c8
--- a/make-certs
d1e1c8
+++ b/make-certs
d1e1c8
@@ -1,10 +1,12 @@
d1e1c8
-#!/bin/bash -e
d1e1c8
+#!/usr/bin/env bash
d1e1c8
 #
d1e1c8
 #  Generate a root CA cert for signing, and then a subject cert.
d1e1c8
 #  Usage: make-certs.sh hostname [user[@domain]] [more ...]
d1e1c8
 #  For testing only, probably still has some bugs in it.
d1e1c8
 #
d1e1c8
 
d1e1c8
+set -e
d1e1c8
+
d1e1c8
 DOMAIN=xn--u4h.net
d1e1c8
 DAYS=365
d1e1c8
 KEYTYPE=RSA
d1e1c8
-- 
d1e1c8
2.26.2
d1e1c8