summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 14:11:48 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 14:11:48 +0200
commit5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb (patch)
treed1709c0441ae258f69e1445f8381f243d1121639 /install
parentdid it work? (diff)
downloadbeziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar.gz
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar.bz2
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar.lz
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar.xz
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.tar.zst
beziapp-5fc29dc18a5b27dd8dbf45f8dd67e42ee74419fb.zip
Diffstat (limited to 'install')
-rwxr-xr-xinstall5
1 files changed, 4 insertions, 1 deletions
diff --git a/install b/install
index 196ce1b..5da3f6c 100755
--- a/install
+++ b/install
@@ -8,5 +8,8 @@ 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" \) | cpio -pdm dist/js
+cd assets/js
+# js ne znam te magije
+find . -type f \( ! -name "*.bvr" \) | cpio -pdm ../../dist/js
+cd ../../
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\""