summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCryptlib/update.sh2
-rwxr-xr-xmake-certs4
2 files changed, 4 insertions, 2 deletions
diff --git a/Cryptlib/update.sh b/Cryptlib/update.sh
index 31a082d4..7ea59831 100755
--- a/Cryptlib/update.sh
+++ b/Cryptlib/update.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
DIR=$1
OPENSSL_VERSION="1.0.2k"
diff --git a/make-certs b/make-certs
index 3e9293b2..6f40b234 100755
--- a/make-certs
+++ b/make-certs
@@ -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