From 20401bd78de57276429e9f1baa663069e39f4ca8 Mon Sep 17 00:00:00 2001 From: paravoid Date: Fri, 15 Jul 2022 02:42:27 +0300 Subject: [PATCH] build: Link instead of copying --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index c8a4715..438e815 100755 --- a/build.sh +++ b/build.sh @@ -24,8 +24,8 @@ gen() { dst="pub/$file" if [ "$src" -nt "$dst" ] then - echo "Copying $src to $dst" - cp "$src" "$dst" + echo "Linking $src to $dst" + ln "$src" "$dst" fi fi done -- 2.45.2