summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-06-02 19:00:49 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-06-02 19:00:49 (GMT)
commitf680c002831907e570c9fe0d1a7fabdeb0bc311d (patch)
tree3fb9bba51690bfd318b6d00d8f010bfce38700e9 /scripts/functions
parent2f135c9f24c40dffad2ae5cc44fb1d2a72635ed4 (diff)
parent0130065c0a3b0222cb6a3291f82fb7a0824b853b (diff)
Merge pull request #58 from dirkhusemann/master
Update functions to grok symlinks
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
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