Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
2e6e100a
Commit
2e6e100a
authored
Apr 18, 2014
by
Adam Harvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer ggrep for grep invocations that use GNU extensions.
parent
fa59fd51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
bin/rbenv-install
+1
-1
script/mirror
+1
-1
test/test_helper.bash
+1
-1
No files found.
bin/rbenv-install
View file @
2e6e100a
...
...
@@ -44,7 +44,7 @@ usage() {
definitions
()
{
local
query
=
"
$1
"
ruby-build
--definitions
|
grep
-F
"
$query
"
||
true
ruby-build
--definitions
|
$(
type
-p
ggrep
grep
| head
-1
)
-F
"
$query
"
||
true
}
indent
()
{
...
...
script/mirror
View file @
2e6e100a
...
...
@@ -43,7 +43,7 @@ potentially_new_packages() {
}
extract_urls
()
{
grep
-hoe
'http[^"]\+#[^"]\+'
"
$@
"
| sort | uniq
$(
type
-p
ggrep
grep
| head
-1
)
-hoe
'http[^"]\+#[^"]\+'
"
$@
"
| sort | uniq
}
update
()
{
...
...
test/test_helper.bash
View file @
2e6e100a
...
...
@@ -115,7 +115,7 @@ assert_output() {
assert_output_contains
()
{
local
expected
=
"
$1
"
echo
"
$output
"
|
grep
-F
"
$expected
"
>
/dev/null
||
{
echo
"
$output
"
|
$(
type
-p
ggrep
grep
| head
-1
)
-F
"
$expected
"
>
/dev/null
||
{
{
echo
"expected output to contain
$expected
"
echo
"actual:
$output
"
}
| flunk
...
...
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