mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 01:21:27 +00:00
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>
This commit is contained in:
parent
1cfc160f9d
commit
12d24ee33b
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user