extract_funcs.sh: look for .tgz before .gz, otherwise it will do it wrong.

--HG--
extra : convert_revision : b8ca57eebd8c48aad7bc4f9e9d2aa1e7dc258d37
This commit is contained in:
Juan RP 2009-03-14 01:21:27 +01:00
parent 1953271134
commit edf6745d59

View File

@ -80,12 +80,12 @@ extract_distfiles()
cursufx=".tbz" cursufx=".tbz"
elif $(echo $f|grep -q '.tar.gz'); then elif $(echo $f|grep -q '.tar.gz'); then
cursufx=".tar.gz" cursufx=".tar.gz"
elif $(echo $f|grep -q '.tgz'); then
cursufx=".tgz"
elif $(echo $f|grep -q '.gz'); then elif $(echo $f|grep -q '.gz'); then
cursufx=".gz" cursufx=".gz"
elif $(echo $f|grep -q '.bz2'); then elif $(echo $f|grep -q '.bz2'); then
cursufx=".bz2" cursufx=".bz2"
elif $(echo $f|grep -q '.tgz'); then
cursufx=".tgz"
elif $(echo $f|grep -q '.tar'); then elif $(echo $f|grep -q '.tar'); then
cursufx=".tar" cursufx=".tar"
elif $(echo $f|grep -q '.zip'); then elif $(echo $f|grep -q '.zip'); then