summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index b03e2b3..196ce1b 100755
--- a/install
+++ b/install
@@ -8,5 +8,5 @@ find assets/root/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; F
# js bvr fajli
mkdir -p dist/js
-find assets/js/ -type f \( ! -name "*.bvr" \) -exec cp -r "{}" dist/js/ \;
+find assets/js/ -type f \( ! -name "*.bvr" \) | cpio -pdm dist/js
find assets/js/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\${FILE/.bvr/}"; ./bin/compose-single \"assets/js/\$FILE\" \"\$FILE_DST\""