Преглед на файлове

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