Browse Source

Symlink instead of copy static files to destination

Reinhard Müller 6 months ago
parent
commit
4489cc1537
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      fsfe-preview.sh

+ 2
- 2
fsfe-preview.sh View File

@@ -159,8 +159,8 @@ for ((i=1; i <= $numargs; i++)); do
159 159
     $LOC_trunk/build/build_main.sh process_file $SRC_full > $DST_full
160 160
 
161 161
   else # just copy file
162
-    echo_INFO "File type ($ftype) is detected as not to be built. Just copying it to $DST_full ..."
163
-    cp $SRC_full $DST_full
162
+    echo_INFO "File type ($ftype) is detected as not to be built. Just linking it to $DST_full ..."
163
+    ln -sf $SRC_full $DST_full
164 164
   fi
165 165
 
166 166
 

Loading…
Cancel
Save