hooks/do-extract/00-distfiles: typo fix that broke extraction of gzipped distfiles.
This commit is contained in:
parent
0f3611ae84
commit
8935913ab3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue