From edf6745d59c33e2d9e94dfa4625a1099db089743 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Mar 2009 01:21:27 +0100 Subject: [PATCH] extract_funcs.sh: look for .tgz before .gz, otherwise it will do it wrong. --HG-- extra : convert_revision : b8ca57eebd8c48aad7bc4f9e9d2aa1e7dc258d37 --- shutils/extract_funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutils/extract_funcs.sh b/shutils/extract_funcs.sh index 3a701246fbc..5bf7cccf5c5 100644 --- a/shutils/extract_funcs.sh +++ b/shutils/extract_funcs.sh @@ -80,12 +80,12 @@ extract_distfiles() cursufx=".tbz" elif $(echo $f|grep -q '.tar.gz'); then cursufx=".tar.gz" + elif $(echo $f|grep -q '.tgz'); then + cursufx=".tgz" elif $(echo $f|grep -q '.gz'); then cursufx=".gz" elif $(echo $f|grep -q '.bz2'); then cursufx=".bz2" - elif $(echo $f|grep -q '.tgz'); then - cursufx=".tgz" elif $(echo $f|grep -q '.tar'); then cursufx=".tar" elif $(echo $f|grep -q '.zip'); then