Explorar o código

package.sh: Handle missing HTML files

Danilo Bargen %!s(int64=6) %!d(string=hai) anos
pai
achega
a46f9a844a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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=(