]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Display an error message if /usr/bin/markdown can't be loaded.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 10 Aug 2006 03:03:34 +0000 (03:03 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 10 Aug 2006 03:03:34 +0000 (03:03 +0000)
IkiWiki/Plugin/mdwn.pm
debian/changelog

index a344de0674a8345bffd91a61c4cd0b44ee38994a..c1f978ad3b99c2c0cd68c5aa75570725e3db8489 100644 (file)
@@ -19,7 +19,7 @@ sub htmlize ($) { #{{{
                no warnings 'once';
                $blosxom::version="is a proper perl module too much to ask?";
                use warnings 'all';
-               do "/usr/bin/markdown";
+               do "/usr/bin/markdown" || IkiWiki::error("failed to load /usr/bin/markdown: $!");
                require Encode;
        }
        
index 8fc3b66dbf7e6b99a109e564323f3dd771847d5a..c89500109826362f4c741be6729416b712f33a4a 100644 (file)
@@ -9,8 +9,9 @@ ikiwiki (1.17) UNRELEASED; urgency=low
   * Remove <br> from end of aggregate preprocessor directive output.
   * Ship ikiwiki executable as ikiwiki.pl in source to avoid issues on
     case-sensative filesystems like OSX.
+  * Display an error message if /usr/bin/markdown can't be loaded.
 
- -- Joey Hess <joeyh@debian.org>  Tue,  8 Aug 2006 10:52:23 -0400
+ -- Joey Hess <joeyh@debian.org>  Wed,  9 Aug 2006 23:01:02 -0400
 
 ikiwiki (1.16) unstable; urgency=low