[dh-r] 24/43: Chomp dpkg-buildflags
Gordon Ball
chronitis-guest at moszumanska.debian.org
Thu Sep 15 13:45:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository dh-r.
commit 61ad2f90819f843c8a2a98e4434f8c67fd8a106d
Author: Gordon Ball <gordon at chronitis.net>
Date: Tue Sep 6 13:50:59 2016 +0200
Chomp dpkg-buildflags
---
dh/R.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh/R.pm b/dh/R.pm
index 8a4f93b..ecece43 100644
--- a/dh/R.pm
+++ b/dh/R.pm
@@ -143,7 +143,7 @@ sub install {
say "I: Using MAKEFLAGS=" . $ENV{RMakeFlags};
push (@instargs, "MAKEFLAGS=" . $ENV{RMakeFlags});
} else {
- my $ldflags = qx/dpkg-buildflags --get LDFLAGS/;
+ chomp(my $ldflags = qx/dpkg-buildflags --get LDFLAGS/);
$ldflags =~ s/ /\\ /g;
$ENV{MAKEFLAGS} = "'LDFLAGS=$ldflags'";
say "I: Using MAKEFLAGS=$ENV{MAKEFLAGS}";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dh-r.git
More information about the debian-science-commits
mailing list