From 6a0f7712b032a28d9e27193855ae1792f416d8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S=C3=89RIE?= Date: Sun, 5 Mar 2017 13:05:07 +0100 Subject: [PATCH] Fix bashism. --- shellpki.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shellpki.sh b/shellpki.sh index 67e81a1..4e29ec9 100755 --- a/shellpki.sh +++ b/shellpki.sh @@ -91,7 +91,8 @@ echo echo "copy cert to public certs dir" echo cp -i $DIR/$cn.crt $PREFIX/certs/ -cp -i $DIR/$cn.{crt,key} $WWWDIR/ +cp -i $DIR/$cn.crt $WWWDIR/ +cp -i $DIR/$cn.key $WWWDIR/ chown -R root:www $WWWDIR chmod -R u=rwX,g=rwX,o= $WWWDIR echo