Skip to content

Commit

Permalink
more fixes to phar generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Beaver committed Aug 2, 2009
1 parent 5f001d0 commit e8ff447
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions make-gopear-phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function replaceVersion($contents, $path)
$creator->useSHA1Signature();

foreach ($packages as $package) {
echo "adding go-pear-tarballs/$package\n";
$creator->addFile("go-pear-tarballs/$package", "go-pear-tarballs/$package");
echo "adding PEAR/go-pear-tarballs/$package\n";
$creator->addFile("go-pear-tarballs/$package", "PEAR/go-pear-tarballs/$package");
}

$commandcontents = file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'go-pear-phar.php');
Expand Down
2 changes: 1 addition & 1 deletion make-installpear-nozlib-phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function replaceVersion($contents, $path)
$install_files = '$install_files = array(';
foreach ($packages as $name => $package) {
echo "$name => $package\n";
$install_files .= "'$name' => 'phar://' . $outputFile . '/$package'," . "\n";
$install_files .= "'$name' => 'phar://" . $outputFile . "/$package'," . "\n";
$creator->addFile("go-pear-tarballs/$package", "$package");
}

Expand Down

0 comments on commit e8ff447

Please sign in to comment.