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
467837a9
Commit
467837a9
authored
Jun 09, 2019
by
Ed Reel
Committed by
Chris Thurber
Jun 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not abort if the current gcc version is installed (#3309)
parent
0c08e371
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
packages/gcc7.rb
packages/gcc7.rb
+1
-1
packages/gcc8.rb
packages/gcc8.rb
+1
-1
No files found.
packages/gcc7.rb
View file @
467837a9
...
...
@@ -9,7 +9,7 @@ class Gcc7 < Package
if
ARGV
[
0
]
==
'install'
gccver
=
`gcc -v 2>&1 | tail -1 | cut -d' ' -f3`
.
chomp
abort
"GCC version
#{
gccver
}
already installed."
.
lightgreen
unless
"
#{
gccver
}
"
==
"No"
||
"
#{
gccver
}
"
==
"
gcc:
"
abort
"GCC version
#{
gccver
}
already installed."
.
lightgreen
unless
"
#{
gccver
}
"
==
"No"
||
"
#{
gccver
}
"
==
"
not"
||
"
#{
gccver
}
"
==
"gcc:"
||
"
#{
gccver
}
"
==
"
#{
version
}
"
end
binary_url
({
...
...
packages/gcc8.rb
View file @
467837a9
...
...
@@ -9,7 +9,7 @@ class Gcc8 < Package
if
ARGV
[
0
]
==
'install'
gccver
=
`gcc -v 2>&1 | tail -1 | cut -d' ' -f3`
.
chomp
abort
"GCC version
#{
gccver
}
already installed."
.
lightgreen
unless
"
#{
gccver
}
"
==
"No"
||
"
#{
gccver
}
"
==
"
gcc:
"
abort
"GCC version
#{
gccver
}
already installed."
.
lightgreen
unless
"
#{
gccver
}
"
==
"No"
||
"
#{
gccver
}
"
==
"
not"
||
"
#{
gccver
}
"
==
"gcc:"
||
"
#{
gccver
}
"
==
"
#{
version
}
"
end
binary_url
({
...
...
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