Use the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org...
authorZac Medico <zmedico@gentoo.org>
Wed, 17 Jan 2007 09:06:19 +0000 (09:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 17 Jan 2007 09:06:19 +0000 (09:06 -0000)
svn path=/main/branches/2.1.2/; revision=5688

bin/ebuild.sh

index 02e9470108f20e40444e678017ce622e74476801..4bf8de4007d0fbc677fb7504e78fd8be179d3666 100755 (executable)
@@ -426,7 +426,7 @@ unpack() {
                                ;;
                        bz2|bz)
                                if [ "${y}" == "tar" ]; then
-                                       bzip2 -dc "${srcdir}${x}" | tar xof - ${tarvars}
+                                       bzip2 -dc "${srcdir}${x}" | tar xof -
                                        assert "$myfail"
                                else
                                        bzip2 -dc "${srcdir}${x}" > ${x%.*} || die "$myfail"