Skip to content

Commit

Permalink
_resources/port1.0/group/php5pear-1.0.tcl:
Browse files Browse the repository at this point in the history
- 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 7b522b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _resources/port1.0/group/php5pear-1.0.tcl
Expand Up @@ -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}"
}
Expand Down

0 comments on commit 7b522b4

Please sign in to comment.