hooks/do-extract/00-distfiles: typo fix that broke extraction of gzipped distfiles.
This commit is contained in:
parent
0f3611ae84
commit
8935913ab3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue