Skip to content
Permalink
Browse files

_resources/port1.0/group/php5pear-1.0.tcl:

- Fix tar flags. Closes https://trac.macports.org/ticket/32745

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89391 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pixilla committed Jan 27, 2012
1 parent e995854 commit 7b522b4bda3687696436ab001b374db14229ad6b
Showing with 1 addition and 1 deletion.
  1. +1 −1 _resources/port1.0/group/php5pear-1.0.tcl
@@ -144,7 +144,7 @@ proc php5pear.setup {php5pear.package version {php5pear.channel "pear.php.net"}
# Get the name of our package xml file.
php5pear.packagexml [lindex [exec tar -tzf ${distpath}/${distname}${extract.suffix} | grep package.*\.xml] 0]
# The "--strip-components 1" causes the loss of our package file so we will extract it now.
system "tar -z -x -v -f '${distpath}/${distname}${extract.suffix}' - -C '${php5pear.sourceroot}' ${php5pear.packagexml}"
system "tar -z -x -v -f '${distpath}/${distname}${extract.suffix}' -C '${php5pear.sourceroot}' ${php5pear.packagexml}"
# Install the pear command using the phar file.
system "${php5pear.cmd-pre} ${php5pear.cmd-php} ${php5pear.cmd-phar}"
}

0 comments on commit 7b522b4

Please sign in to comment.
You can’t perform that action at this time.