# HG changeset patch # User "Yann E. MORIN" # Date 1182017045 0 # Node ID 5bfea1685da4446b782e864468b77c90a9c33ef6 # Parent 6daa8b5df1b48da3199e00966edbe15e58073f24 When searching a matching extension for a file, also check for the empty extension. diff -r 6daa8b5df1b4 -r 5bfea1685da4 scripts/functions --- a/scripts/functions Sat Jun 16 18:01:59 2007 +0000 +++ b/scripts/functions Sat Jun 16 18:04:05 2007 +0000 @@ -244,7 +244,10 @@ local got_it=1 CT_Pushd "${CT_TARBALLS_DIR}" - for ext in .tar.gz .tar.bz2 .tgz .tar; do + # we need to also check for an empty extension for those very + # peculiar components that don't have one (such as sstrip from + # buildroot). + for ext in .tar.gz .tar.bz2 .tgz .tar ''; do if [ -f "${file}${ext}" ]; then echo "${ext}" got_it=0