about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 22:09:17 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 22:09:17 +0100
commitab1670af9a660d3ca5d8989d5c657730f34090da (patch)
tree4a505b6580a720a2eff3006f27ab7014867c0245
parent33188b1a0246ae57fa478b501786cf292b4d1904 (diff)
downloadkronika-ab1670af9a660d3ca5d8989d5c657730f34090da.tar.gz
kronika-ab1670af9a660d3ca5d8989d5c657730f34090da.zip
Fix symlink
-rwxr-xr-xgen2
-rwxr-xr-xtools/compile2
2 files changed, 2 insertions, 2 deletions
diff --git a/gen b/gen
index 121a3e7..5252b73 100755
--- a/gen
+++ b/gen
@@ -3,7 +3,7 @@
 rm -r dest || true
 mkdir dest
 
-export PATH="$PWD/tools:$PATH"
+export PATH="$PWD/node_modules:$PATH"
 
 cat > wpisy/kronika.html << EOF
 <h2>Ostatnie wpisy</h2>
diff --git a/tools/compile b/tools/compile
index b28d1ea..f1415d2 100755
--- a/tools/compile
+++ b/tools/compile
@@ -25,5 +25,5 @@ if [ ! -f node_modules/cpio ]; then
   make
   make install
   cp -r out ../node_modules/cpio_src
-  ln -s ../node_modules/cpio ../node_modules/cpio_src/bin/cpio
+  ln -s ../node_modules/cpio_src/bin/cpio ../node_modules/cpio
 fi