Revision
15771
Author
sathieu
Date
2009-12-03 08:10:44 -0600 (Thu, 03 Dec 2009)

Log Message

email2pdf: header file path was hardcoded

Modified Paths

Diff

Modified: freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf (15770 => 15771)


--- freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf	2009-12-03 14:05:03 UTC (rev 15770)
+++ freeswitch/trunk/contrib/sathieu/email2pdf/email2pdf	2009-12-03 14:10:44 UTC (rev 15771)
@@ -201,7 +201,7 @@
 	};
 
 	# specify input filename, or file handle, text reference, etc.
-	my $content_type = `file --mime-type --brief header.html`;
+	my $content_type = `file --mime-type --brief $o_header`;
 	$content_type =~ s/\s+$//; # trim end whitespace
 	my $header = '';