Skip to content
Snippets Groups Projects
Verified Commit 501b3af1 authored by jD91mZM2's avatar jD91mZM2
Browse files

More patches to make-ca.sh for NixOS

parent 2179beb1
No related branches found
No related tags found
1 merge request!173More patches to make-ca.sh for NixOS
diff -ru source/make-ca.sh source2/make-ca.sh --- source/make-ca.sh 2018-08-25 17:38:12.512463896 +0200
--- source/make-ca.sh 2018-05-08 10:27:57.829291956 +0200 +++ build/make-ca.sh 2018-09-23 14:45:12.492919202 +0200
+++ source2/make-ca.sh 2018-05-08 10:33:58.040239253 +0200
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/bin/bash -#!/bin/bash
+#!/usr/bin/env bash +#!/usr/bin/env bash
...@@ -20,3 +19,12 @@ diff -ru source/make-ca.sh source2/make-ca.sh ...@@ -20,3 +19,12 @@ diff -ru source/make-ca.sh source2/make-ca.sh
ANCHORDIR="${PKIDIR}/anchors" ANCHORDIR="${PKIDIR}/anchors"
CABUNDLE="${SSLDIR}/ca-bundle.crt" CABUNDLE="${SSLDIR}/ca-bundle.crt"
CERTDIR="${SSLDIR}/certs" CERTDIR="${SSLDIR}/certs"
@@ -723,7 +723,7 @@
unset cert
fi
-/usr/bin/c_rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
+c_rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
popd > /dev/null
# Clean up the mess
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment