From 8935913ab310dcb57c2d427273fd7ddfa54759c0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 6 Mar 2014 11:05:41 +0100 Subject: [PATCH] hooks/do-extract/00-distfiles: typo fix that broke extraction of gzipped distfiles. --- common/hooks/do-extract/00-distfiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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