diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 19:00:49 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-06-02 19:00:49 (GMT) |
commit | f680c002831907e570c9fe0d1a7fabdeb0bc311d (patch) | |
tree | 3fb9bba51690bfd318b6d00d8f010bfce38700e9 | |
parent | 2f135c9f24c40dffad2ae5cc44fb1d2a72635ed4 (diff) | |
parent | 0130065c0a3b0222cb6a3291f82fb7a0824b853b (diff) |
Merge pull request #58 from dirkhusemann/master
Update functions to grok symlinks
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 06b4769..3e3440a 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 |