From 4489cc1537c8cd1a48f363e55f90b9a7fc3efcf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20M=C3=BCller?= Date: Mon, 3 Jun 2019 20:20:46 +0200 Subject: [PATCH] Symlink instead of copy static files to destination --- fsfe-preview.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsfe-preview.sh b/fsfe-preview.sh index 03811b3..48f550d 100755 --- a/fsfe-preview.sh +++ b/fsfe-preview.sh @@ -159,8 +159,8 @@ for ((i=1; i <= $numargs; i++)); do $LOC_trunk/build/build_main.sh process_file $SRC_full > $DST_full else # just copy file - echo_INFO "File type ($ftype) is detected as not to be built. Just copying it to $DST_full ..." - cp $SRC_full $DST_full + echo_INFO "File type ($ftype) is detected as not to be built. Just linking it to $DST_full ..." + ln -sf $SRC_full $DST_full fi