From 12d24ee33b6c8bddd534db57b683d839f6df2fb9 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Mon, 8 Feb 2016 16:06:39 -0800 Subject: functions: Softlink custom directory Hardlinking the custom source directory does not work across separate mount points. Chnage this to a softlink instead. This closes #336 Reported-by: Jasmin Jessich Signed-off-by: Bryan Hundven diff --git a/scripts/functions b/scripts/functions index 5a64232..8a803bf 100644 --- a/scripts/functions +++ b/scripts/functions @@ -671,7 +671,7 @@ CT_GetCustom() { elif [ "${component_location_type}" = "dir" ]; then CT_DoLog EXTRA "Got '${component_location}' from custom location" [ ! -d "${CT_SRC_DIR}/${component_name}-${component_version}" ] && \ - CT_DoExecLog DEBUG cp -al "${component_location}" \ + CT_DoExecLog DEBUG cp -as "${component_location}" \ "${CT_SRC_DIR}/${component_name}-${component_version}" # Don't try to extract from source directory, it's extracted! -- cgit v0.10.2-6-g49f6