We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a62d774 + ca36fc6 commit 47f7f3bCopy full SHA for 47f7f3b
lib/puppet/util/rpm_compare.rb
@@ -7,7 +7,7 @@ module Puppet::Util::RpmCompare
7
armv5tejl armv6l armv7l m68kmint s390 s390x ia64 x86_64 sh3 sh4
8
].freeze
9
10
- ARCH_REGEX = Regexp.new(ARCH_LIST.join('|\.'))
+ ARCH_REGEX = Regexp.new('\.' + ARCH_LIST.join('|\.'))
11
12
# This is an attempt at implementing RPM's
13
# lib/rpmvercmp.c rpmvercmp(a, b) in Ruby.
0 commit comments