autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] autoreconf: remove redundant xsystem calls


From: Ross Burton
Subject: [PATCH] autoreconf: remove redundant xsystem calls
Date: Tue, 13 Oct 2020 21:54:20 +0100

From: Ross Burton <ross.burton@arm.com>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]