mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Merge pull request #58 from dirkhusemann/master
Update functions to grok symlinks
This commit is contained in:
commit
f680c00283
@ -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…
x
Reference in New Issue
Block a user