diff -rN -u old-pacman/scripts/makepkg new-pacman/scripts/makepkg --- old-pacman/scripts/makepkg 2006-09-18 11:04:59.000000000 +0200 +++ new-pacman/scripts/makepkg 2006-09-18 11:04:59.000000000 +0200 @@ -1224,22 +1224,22 @@ unset cmd case "`echo $file |tr "A-Z" "a-z"`" in *.tar.gz|*.tar.z|*.tgz) - cmd="tar --use-compress-program=gzip -xf" ;; + cmd="tar --use-compress-program=gzip -xf $file" ;; *.tar.bz2|*.tbz2) - cmd="tar --use-compress-program=bzip2 -xf" ;; + cmd="tar --use-compress-program=bzip2 -xf $file" ;; *.tar) - cmd="tar -xf" ;; + cmd="tar -xf $file" ;; *.zip) unziphack=1 - cmd="unzip -qqo" ;; + cmd="unzip -qqo $file" ;; *.gz) - cmd="gunzip -f" ;; + cmd="gunzip -f $file" ;; *.bz2) - cmd="bunzip2 -f" ;; + cmd="bunzip2 -f $file" ;; esac if [ "$cmd" != "" ]; then - msg " $cmd $file" - $cmd "$file" + msg " $cmd" + "$cmd" if [ $? -ne 0 ]; then # unzip will return a 1 as a warning, it is not an error if [ "$unziphack" != "1" -o $? -ne 1 ]; then