summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2020-10-14 20:33:19 -0400
committerZack Weinberg <zackw@panix.com>2020-10-14 20:33:19 -0400
commit2a94d5b1541ea7e988893c7ca6e7fa20e2ea97b6 (patch)
tree466acd1ae893c4dc4d03bfc3e1405437e0cf8611
parentb0d20c049bda80a9d323326ae5ea3fd5e4857712 (diff)
downloadautoconf-2a94d5b1541ea7e988893c7ca6e7fa20e2ea97b6.tar.gz
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).
-rw-r--r--bin/autoreconf.in8
1 files changed, 4 insertions, 4 deletions
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
{