summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-02-09 00:06:39 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-02-09 00:06:39 (GMT)
commit12d24ee33b6c8bddd534db57b683d839f6df2fb9 (patch)
tree04a25bdb19c3617d2122ab03f1af3f5b7836d230 /scripts/functions
parent1cfc160f9d18c8a40a78a35fd4bb574c8fc82163 (diff)
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 <jasmin@anw.at> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
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!