summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDirk Husemann <dirk@d2h.net>2015-03-13 15:21:38 (GMT)
committerDirk Husemann <dirk@d2h.net>2015-06-02 05:45:57 (GMT)
commit0130065c0a3b0222cb6a3291f82fb7a0824b853b (patch)
tree0f7e97797f46530c320e50acc27272a070296b2c /scripts
parent41722f59d94a66dafef4e454d695aa81879fa0e3 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index a309f2d..adb9f69 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