浏览代码

Updated generateCertificates.sh shell script to make sure the necessary folders ‚certs‘, ‚csrs‘, ‚keystores‘, and ‚privateKeys‘ exist or are created if they don’t exist before executing the rest of the script

Marc Mültin 8 年之前
父节点
当前提交
bb40200deb
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      RISE-V2G-Certificates/generateCertificates.sh

+ 5 - 0
RISE-V2G-Certificates/generateCertificates.sh

@@ -19,6 +19,11 @@
 #
 # Author: Marc Mültin (marc.mueltin@chargepartner.com) 
 
+# 0) Create directories if not yet existing
+mkdir -p certs
+mkdir -p csrs
+mkdir -p keystores
+mkdir -p privateKeys
 
 # 1) Create a self-signed V2GRootCA certificate
 # 1.1) Create a