hooks/do-extract/00-distfiles: typo fix that broke extraction of gzipped distfiles.

This commit is contained in:
Juan RP 2014-03-06 11:05:41 +01:00
parent 0f3611ae84
commit 8935913ab3
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ hook() {
;;
gz|bz2)
cp -f $srcdir/$curfile $extractdir
if [ "$cursufx" = ".gz" ]; then
if [ "$cursufx" = "gz" ]; then
cd $extractdir && gunzip $curfile
else
cd $extractdir && bunzip2 $curfile