Commit 1d7d3808 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Fix crew whatprovides for files with underscores (#5590)

parent 231e557c
......@@ -419,7 +419,7 @@ end
def whatprovides (regexPat)
fileArray = []
needle = regexPat.gsub(/-/,'_').gsub(/_/,'\-')
needle = regexPat.gsub(/-/,',').gsub(/,/,'\-')
Dir[CREW_META_PATH + '*.filelist'].each do |packageList|
packageName = File.basename packageList, '.filelist'
File.readlines(packageList).each do |line|
......
# Defines common constants used in different parts of crew
CREW_VERSION = '1.7.23'
CREW_VERSION = '1.7.24'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment