Skip to content
Browse files

don't try to capture the output of ps2pdf

  • Loading branch information...
1 parent 1041ee9 commit 0c0a3c8068e05b48a5c4aca2b69e224128ac5528 @dmaphy committed Feb 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 pdfmerge
View
4 pdfmerge
@@ -95,7 +95,7 @@ foreach $ARGV (@ARGV)
close(FILE);
-my $output = `ps2pdf -I. merged.ps $mergedfile`;
+`ps2pdf -I. merged.ps $mergedfile`;
if ( $? == 0 )
{
@@ -106,7 +106,7 @@ if ( $? == 0 )
else
{
- print color("red"), "Merge was not successful:\n", color("reset");
+ print color("red"), "Merge was not successful\n", color("reset");
print $output;
unlink("./merged.ps"); # cleanup
exit 1;

0 comments on commit 0c0a3c8

Please sign in to comment.
Something went wrong with that request. Please try again.