scripts/functions
changeset 160 5bfea1685da4
parent 146 7e226579cf8c
child 165 a291bfa17715
     1.1 --- a/scripts/functions	Fri Jun 01 16:20:20 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