Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
bb40200deb
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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