Permalink
Browse files

[make-pdf] silenced STDERR

  • Loading branch information...
1 parent a21eb39 commit 73ba441bfaea3b34209a9cfee44385f629692d0e @masak committed Nov 5, 2009
Showing with 5 additions and 2 deletions.
  1. +5 −2 tutorial/make-pdf
View
@@ -4,13 +4,16 @@ use strict;
my $inkscape_executable
= '/Applications/Inkscape.app/Contents/Resources/bin/inkscape';
+die 'Could not find inkscape'
+ unless -f $inkscape_executable;
+
system
"$inkscape_executable "
. "--without-gui --file=src/page$_.svg "
- . "--export-pdf=pdf/page$_.pdf"
+ . "--export-pdf=pdf/page$_.pdf 2> /dev/null"
for 1..4;
system
'gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite'
- . " -sOutputFile=win.pdf pdf/*.pdf";
+ . " -sOutputFile=win.pdf pdf/*.pdf 2> /dev/null";

0 comments on commit 73ba441

Please sign in to comment.