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

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