This is an automated email from the git hooks/post-receive script. aron pushed a commit to branch master in repository dkms.
commit 9b3073d0aed8f6fec2fab88bca017e1729cfeafb Author: Daniel Kahn Gillmor <[email protected]> Date: Thu Jun 30 14:02:16 2016 -0400 handle dkms conf files where PACKAGE_VERSION or PACKAGE_NAME is unquoted Some dkms.conf files do not quote PACKAGE_VERSION or PACKAGE_NAME, like: PACKAGE_NAME=blah PACKAGE_VERSION=0.0.0 This patch lets dh_dkms grok this syntax. --- debian/scripts/dh_dkms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/scripts/dh_dkms b/debian/scripts/dh_dkms index f5a1c4b..48fe8b3 100755 --- a/debian/scripts/dh_dkms +++ b/debian/scripts/dh_dkms @@ -116,8 +116,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # now, parse our configuration file open(IN, "< $name"); while (my $l = <IN>) { - $l =~ /PACKAGE_NAME=(["'])(.*)\1/ && ($is_snippet = 1 && $package_name = $2); - $l =~ /PACKAGE_VERSION=(["'])(.*)\1/ && ($package_version = $2); + $l =~ /PACKAGE_NAME=(["']?)(.*)\1/ && ($is_snippet = 1 && $package_name = $2); + $l =~ /PACKAGE_VERSION=(["']?)(.*)\1/ && ($package_version = $2); } close(IN); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dkms/dkms.git _______________________________________________ Pkg-dkms-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-dkms-commits
