Use portable shebangs: /bin/bash -> /usr/bin/env bash

Upstream-commit-id: 6a73ca814af
This commit is contained in:
Bjørn Forsman 2019-04-26 11:41:02 +02:00 committed by Peter Jones
parent 44b211bcf7
commit 07de085dab
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DIR=$1
OPENSSL_VERSION="1.0.2k"

View File

@ -1,10 +1,12 @@
#!/bin/bash -e
#!/usr/bin/env bash
#
# Generate a root CA cert for signing, and then a subject cert.
# Usage: make-certs.sh hostname [user[@domain]] [more ...]
# For testing only, probably still has some bugs in it.
#
set -e
DOMAIN=xn--u4h.net
DAYS=365
KEYTYPE=RSA