diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 12:00:49 -0700 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 12:00:49 -0700 |
commit | f680c002831907e570c9fe0d1a7fabdeb0bc311d (patch) | |
tree | 3fb9bba51690bfd318b6d00d8f010bfce38700e9 /scripts/functions | |
parent | 2f135c9f24c40dffad2ae5cc44fb1d2a72635ed4 (diff) | |
parent | 0130065c0a3b0222cb6a3291f82fb7a0824b853b (diff) | |
download | crosstool-ng-f680c002831907e570c9fe0d1a7fabdeb0bc311d.tar.gz crosstool-ng-f680c002831907e570c9fe0d1a7fabdeb0bc311d.tar.bz2 crosstool-ng-f680c002831907e570c9fe0d1a7fabdeb0bc311d.zip |
Merge pull request #58 from dirkhusemann/master
Update functions to grok symlinks
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 06b47694..3e3440a0 100644 --- a/scripts/functions +++ b/scripts/functions @@ -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 |