Commits

Shlomi Fish committed b0c4e9f

Die on failed system.

  • Participants
  • Parent commits 46ddbb0

Comments (0)

Files changed (2)

File modules/App-XML-DocBook-Docmake/Changes

         - Move away tag-release.pl under script.
             - This way it hopefully won't be installed by overzelous
             installation procedures such as Mageia Linux's.
+        - Dying on a failed system() command.
 
 0.0400  Sun Dec 25 19:49:48 IST 2011
         - Add support for --basepath
         - Fixed --make with xhtml - previously it didn't build the
         xhtml at all.
         - Got rid of some warnings in the --make flag with the is_older
-        flag. Made _is_older more robust. 
+        flag. Made _is_older more robust.
 
 0.0200  Sun Jun 28 09:46:15 IDT 2009
         - Removed the "all rights reserved" copyright language - it's not

File modules/App-XML-DocBook-Docmake/lib/App/XML/DocBook/Docmake.pm

     {
         print (join(" ", @$cmd), "\n");
     }
-    return system(@$cmd);
+
+    if (!system(@$cmd)) {
+        die qq/<<@$cmd>> failed./;
+    }
+
+    return;
 }
 
 sub run