From: Ross Burton Date: Thu, 15 Oct 2020 00:33:19 +0000 (-0400) Subject: autoreconf: remove redundant xsystem calls X-Git-Tag: v2.69d~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a94d5b1541ea7e988893c7ca6e7fa20e2ea97b6;p=thirdparty%2Fautoconf.git autoreconf: remove redundant xsystem calls xsystem_hint() executes the command, so there's no need to call xsystem() afterwards. * bin/autoreconf.in: No need to call xsystem($cmd) immediately after calling xsystem_hint("message", $cmd). --- diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 54b9b675..ba08c6ac 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -311,7 +311,8 @@ sub autoreconf_current_directory ($) } else { - xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint"); + xsystem_hint ("autopoint is needed because this package uses Gettext", + $autopoint); } @@ -517,8 +518,8 @@ sub autoreconf_current_directory ($) } elsif ($install) { - xsystem_hint ("intltoolize is needed because this package uses Intltool", $intltoolize); - xsystem ($intltoolize) + xsystem_hint ("intltoolize is needed because this package uses Intltool", + $intltoolize); } else { @@ -538,7 +539,6 @@ sub autoreconf_current_directory ($) { xsystem_hint ("gtkdocize is needed because this package uses Gtkdoc", $gtkdocize); - xsystem ($gtkdocize) } else {