Skip to content
Snippets Groups Projects

More patches to make-ca.sh for NixOS

Merged jD91mZM2 requested to merge jD91mZM2/cookbook:make-ca-patch into master
1 file
+ 11
3
Compare changes
  • Side-by-side
  • Inline
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
Loading