diff --git a/common/hooks/do-extract/00-distfiles.sh b/common/hooks/do-extract/00-distfiles.sh index 78c095bbe1d..1f683f8d185 100644 --- a/common/hooks/do-extract/00-distfiles.sh +++ b/common/hooks/do-extract/00-distfiles.sh @@ -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