Selaa lähdekoodia

package.sh: Handle missing HTML files

Danilo Bargen 6 vuotta sitten
vanhempi
commit
a46f9a844a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dist/package.sh

+ 1 - 1
dist/package.sh

@@ -43,7 +43,7 @@ cp -R troubleshoot/* $DIR/troubleshoot/
 cp -R src/partials/*.html $DIR/partials/
 cp -R src/partials/messenger.receiver/*.html $DIR/partials/messenger.receiver/
 cp -R src/directives/*.html $DIR/directives/
-cp -R src/components/*.html $DIR/components/
+cp -R src/components/*.html $DIR/components/ 2>/dev/null || :
 
 echo "+ Copy dependencies..."
 targets=(