[debhelper-devel] [debhelper] 01/01: qmake.pm: Simplify a line

Niels Thykier nthykier at moszumanska.debian.org
Sun Oct 8 14:48:48 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 d3b4ccdb7c219ae6b692565e9f54056da176e412
Author: Niels Thykier <niels at thykier.net>
Date:   Sun Oct 8 11:51:41 2017 +0000

    qmake.pm: Simplify a line
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 lib/Debian/Debhelper/Buildsystem/qmake.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Debian/Debhelper/Buildsystem/qmake.pm b/lib/Debian/Debhelper/Buildsystem/qmake.pm
index 21be26c..8ded4cc 100644
--- a/lib/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/lib/Debian/Debhelper/Buildsystem/qmake.pm
@@ -63,7 +63,7 @@ sub configure {
 		my $host_os = dpkg_architecture_value("DEB_HOST_ARCH_OS");
 
 		if (defined(my $spec = $OS_MKSPEC_MAPPING{$host_os})) {
-			push(@options, ("-spec", $OS_MKSPEC_MAPPING{$host_os}));
+			push(@options, "-spec", $spec);
 		} else {
 			error("Cannot cross-compile: Missing entry for HOST OS ${host_os} for qmake's -spec option");
 		}

-- 
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