Просмотр исходного кода

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 лет назад
Родитель
Сommit
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