Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
d822bef9
Commit
d822bef9
authored
Mar 07, 2021
by
Ed Reel
Committed by
GitHub
Mar 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crew whatprovides (#5334)
Simplify regex search
parent
8f3f9177
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
crew
crew
+1
-1
lib/const.rb
lib/const.rb
+1
-1
No files found.
crew
View file @
d822bef9
...
@@ -384,7 +384,7 @@ def whatprovides (pkgName)
...
@@ -384,7 +384,7 @@ def whatprovides (pkgName)
if
packageList
[/\.
filelist
$/]
if
packageList
[/\.
filelist
$/]
packageName
=
File
.
basename
packageList
,
'.filelist'
packageName
=
File
.
basename
packageList
,
'.filelist'
File
.
readlines
(
packageList
).
each
do
|
line
|
File
.
readlines
(
packageList
).
each
do
|
line
|
found
=
line
[/#{
Regexp
.
new
(
pkgName
)}/]
found
=
line
[/#{
pkgName
}/]
if
line
.
ascii_only
?
if
found
if
found
fileLine
=
packageName
+
': '
+
line
fileLine
=
packageName
+
': '
+
line
if
not
fileArray
.
include
?
fileLine
if
not
fileArray
.
include
?
fileLine
...
...
lib/const.rb
View file @
d822bef9
# Defines common constants used in different parts of crew
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.7.
9
'
CREW_VERSION
=
'1.7.
10
'
ARCH_ACTUAL
=
`uname -m`
.
strip
ARCH_ACTUAL
=
`uname -m`
.
strip
# This helps with virtualized builds on aarch64 machines
# This helps with virtualized builds on aarch64 machines
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment