[PATCH] autoreconf: remove redundant xsystem calls

Ross Burton <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
From: Ross Burton <[email protected]>

xsystem_hint() executes the command, so there's no need to call xsystem()
afterwards.
---
 bin/autoreconf.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bin/autoreconf.in b/bin/autoreconf.in
index 2ea917b5..12d403ac 100644
--- a/bin/autoreconf.in
+++ b/bin/autoreconf.in
@@ -517,7 +517,6 @@ sub autoreconf_current_directory ($)
   elsif ($install)
     {
       xsystem_hint ("intltoolize is needed because this package uses Intltool", $intltoolize);
-      xsystem ($intltoolize)
     }
   else
     {
@@ -537,7 +536,6 @@ sub autoreconf_current_directory ($)
     {
       xsystem_hint ("gtkdocize is needed because this package uses Gtkdoc",
 		    $gtkdocize);
-      xsystem ($gtkdocize)
     }
   else
     {
-- 
2.28.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.