mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Update functions to grok symlinks
when specifying a custom kernel provided as a tar ball, the tar ball gets symlinked. the -e test will fail. Signed-off-by: Dirk Husemann <dirk@d2h.net>
This commit is contained in:
parent
41722f59d9
commit
0130065c0a
@ -543,7 +543,7 @@ CT_GetFileExtension() {
|
||||
# peculiar components that don't have one (such as sstrip from
|
||||
# buildroot).
|
||||
for ext in ${first_ext} $(CT_DoListTarballExt) /.git ''; do
|
||||
if [ -e "${CT_TARBALLS_DIR}/${file}${ext}" ]; then
|
||||
if [ -e "${CT_TARBALLS_DIR}/${file}${ext}" -o -L "${CT_TARBALLS_DIR}/${file}${ext}" ]; then
|
||||
echo "${ext}"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user