Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
25f1d458
Commit
25f1d458
authored
3 years ago
by
Allan Blanchard
Committed by
Andre Maroneze
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Distrib] Use grep instead of rgrep
parent
556e5493
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/build-src-distrib.sh
+4
-4
4 additions, 4 deletions
bin/build-src-distrib.sh
with
4 additions
and
4 deletions
bin/build-src-distrib.sh
+
4
−
4
View file @
25f1d458
...
@@ -23,9 +23,9 @@ if ! command -v git-lfs >/dev/null 2>/dev/null; then
...
@@ -23,9 +23,9 @@ if ! command -v git-lfs >/dev/null 2>/dev/null; then
exit
99
exit
99
fi
fi
#
r
grep needs to be installed
# grep needs to be installed
if
!
command
-v
r
grep
--version
>
/dev/null 2>/dev/null
;
then
if
!
command
-v
grep
--version
>
/dev/null 2>/dev/null
;
then
echo
"
r
grep is required"
echo
"grep is required"
exit
99
exit
99
fi
fi
...
@@ -100,7 +100,7 @@ function look_for_uncommited_changes {
...
@@ -100,7 +100,7 @@ function look_for_uncommited_changes {
}
}
function
look_for_frama_c_dev
{
function
look_for_frama_c_dev
{
r
grep
-
i
"frama-c+dev"
src &> /dev/null
grep
-
Iir
"frama-c+dev"
src &> /dev/null
if
[
"
$?
"
==
"0"
]
;
then
if
[
"
$?
"
==
"0"
]
;
then
echo
"### WARNING: Remaining frama-c+dev occurrences in 'src'"
echo
"### WARNING: Remaining frama-c+dev occurrences in 'src'"
proceed_anyway
"Update API, then run the script again"
proceed_anyway
"Update API, then run the script again"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment