From 0130065c0a3b0222cb6a3291f82fb7a0824b853b Mon Sep 17 00:00:00 2001 From: Dirk Husemann Date: Fri, 13 Mar 2015 16:21:38 +0100 Subject: 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 --- scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/functions b/scripts/functions index a309f2d9..adb9f699 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 -- cgit v1.2.3