Browse Source

Verify that folder exists in signing script

Leo 9 years ago
parent
commit
e82cc430b2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sign-dist.sh

+ 3 - 0
sign-dist.sh

@@ -2,6 +2,9 @@
 
 # Script used to sign (almost) everything in the dist folder
 
+if [ ! -d dist ]; then
+  mkdir dist
+fi
 cd dist
 # File to signed
 # MEMO: -e: regexp, -v: not matched