When searching a matching extension for a file, also check for the empty extension.
1.1 --- a/scripts/functions Sat Jun 16 18:01:59 2007 +0000
1.2 +++ b/scripts/functions Sat Jun 16 18:04:05 2007 +0000
1.3 @@ -244,7 +244,10 @@
1.4 local got_it=1
1.5
1.6 CT_Pushd "${CT_TARBALLS_DIR}"
1.7 - for ext in .tar.gz .tar.bz2 .tgz .tar; do
1.8 + # we need to also check for an empty extension for those very
1.9 + # peculiar components that don't have one (such as sstrip from
1.10 + # buildroot).
1.11 + for ext in .tar.gz .tar.bz2 .tgz .tar ''; do
1.12 if [ -f "${file}${ext}" ]; then
1.13 echo "${ext}"
1.14 got_it=0