diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-08 16:06:39 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-08 16:06:39 -0800 |
commit | 12d24ee33b6c8bddd534db57b683d839f6df2fb9 (patch) | |
tree | 04a25bdb19c3617d2122ab03f1af3f5b7836d230 /scripts/functions | |
parent | 1cfc160f9d18c8a40a78a35fd4bb574c8fc82163 (diff) | |
download | crosstool-ng-12d24ee33b6c8bddd534db57b683d839f6df2fb9.tar.gz crosstool-ng-12d24ee33b6c8bddd534db57b683d839f6df2fb9.tar.bz2 crosstool-ng-12d24ee33b6c8bddd534db57b683d839f6df2fb9.zip |
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/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 5a64232d..8a803bf4 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! |