summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-02-19 09:27:07 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-02-19 09:27:07 (GMT)
commit6df2abc6f1770c37993833f132f7e4d9931e5271 (patch)
tree9acc415e080a8ad144c466afb78dd355a151cf8d
parent7f739389ffa69f1e2d42ce77878e032e4e66c359 (diff)
parenta9e5d4a12df065059deaa79dd814eeadb77174a7 (diff)
Merge pull request #345 from bhundven/use_ln_for_softlink
functions: use 'ln -sf' for softlinks
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 8a803bf..70c1ba6 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 -as "${component_location}" \
+ CT_DoExecLog DEBUG ln -sf "${component_location}" \
"${CT_SRC_DIR}/${component_name}-${component_version}"
# Don't try to extract from source directory, it's extracted!