From 50d123f2f09cd7fdce174f37be3d2a3eeefad6db Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 23 Jun 2018 20:23:05 +0100 Subject: [PATCH] Change location of localCA on macOS --- zsh/functions.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 4038253..9ef574d 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -6,7 +6,7 @@ gencert () { DOMAIN=$1 - test -d /Users/jonny/Development/localCA && ROOT='/Users/jonny/Development/localCA' + test -d /Users/jonny/git/localCA && ROOT='/Users/jonny/git/localCA' test -d /home/jonny/git/ca && ROOT='/home/jonny/git/ca' test -d /usr/local/opt/openssl@1.1/bin && PATH='/usr/local/opt/openssl@1.1/bin':$PATH test -f /usr/local/etc/openssl@1.1/openssl.cnf && SSLCNF='/usr/local/etc/openssl@1.1/openssl.cnf' @@ -26,4 +26,4 @@ gencert () { cd $HOME echo 'Certs generated for $DOMAIN' -} \ No newline at end of file +}