diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-19 09:27:07 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-19 09:27:07 (GMT) |
commit | 6df2abc6f1770c37993833f132f7e4d9931e5271 (patch) | |
tree | 9acc415e080a8ad144c466afb78dd355a151cf8d /scripts/functions | |
parent | 7f739389ffa69f1e2d42ce77878e032e4e66c359 (diff) | |
parent | a9e5d4a12df065059deaa79dd814eeadb77174a7 (diff) |
Merge pull request #345 from bhundven/use_ln_for_softlink
functions: use 'ln -sf' for softlinks
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
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! |