[debhelper-devel] [debhelper] 01/01: {autoconf, meson, cmake}: Avoid forking shell via doit
Niels Thykier
nthykier at moszumanska.debian.org
Sat Jul 15 19:12:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 52bab17924cae99131dfcdce8f362a5186ea958f
Author: Niels Thykier <niels at thykier.net>
Date: Sat Jul 15 10:53:26 2017 +0000
{autoconf,meson,cmake}: Avoid forking shell via doit
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Debian/Debhelper/Buildsystem/autoconf.pm | 2 +-
Debian/Debhelper/Buildsystem/cmake.pm | 6 +++---
Debian/Debhelper/Buildsystem/meson.pm | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm
index bd7ebe7..e31951b 100644
--- a/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -73,7 +73,7 @@ sub configure {
};
if ($@) {
if (-e $this->get_buildpath("config.log")) {
- $this->doit_in_builddir("tail -v -n +0 config.log");
+ $this->doit_in_builddir('tail', '-v', '-n', '+0', 'config.log');
}
die $@;
}
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index 5310a9c..e1e901c 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -90,13 +90,13 @@ sub configure {
};
if (my $err = $@) {
if (-e $this->get_buildpath("CMakeCache.txt")) {
- $this->doit_in_builddir("tail -v -n +0 CMakeCache.txt");
+ $this->doit_in_builddir('tail', '-v', '-n', '+0', 'CMakeCache.txt');
}
if (-e $this->get_buildpath('CMakeFiles/CMakeOutput.log')) {
- $this->doit_in_builddir('tail -v -n +0 CMakeFiles/CMakeOutput.log');
+ $this->doit_in_builddir('tail', '-v', '-n', '+0', 'CMakeFiles/CMakeOutput.log');
}
if (-e $this->get_buildpath('CMakeFiles/CMakeError.log')) {
- $this->doit_in_builddir('tail -v -n +0 CMakeFiles/CMakeError.log');
+ $this->doit_in_builddir('tail', '-v', '-n', '+0', 'CMakeFiles/CMakeError.log');
}
die $err;
}
diff --git a/Debian/Debhelper/Buildsystem/meson.pm b/Debian/Debhelper/Buildsystem/meson.pm
index d4b2262..1ff9054 100644
--- a/Debian/Debhelper/Buildsystem/meson.pm
+++ b/Debian/Debhelper/Buildsystem/meson.pm
@@ -56,7 +56,7 @@ sub configure {
};
if ($@) {
if (-e $this->get_buildpath("meson-logs/meson-log.txt")) {
- $this->doit_in_builddir("tail -v -n +0 meson-logs/meson-log.txt");
+ $this->doit_in_builddir('tail', '-v', '-n', '+0', 'meson-logs/meson-log.txt');
}
die $@;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list