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
5e352960
Commit
5e352960
authored
3 years ago
by
Andre Maroneze
Committed by
Virgile Prevosto
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Doc] follow Linux convention for script exit codes
parent
0b2b1e07
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/build-src-distrib.sh
+3
-3
3 additions, 3 deletions
bin/build-src-distrib.sh
doc/build-manuals.sh
+2
-2
2 additions, 2 deletions
doc/build-manuals.sh
with
5 additions
and
5 deletions
bin/build-src-distrib.sh
+
3
−
3
View file @
5e352960
...
...
@@ -14,19 +14,19 @@ DEBUG=no
# (special use of the 'case' construct)
if
test
`
echo
$BASH_VERSION
|
sed
"s/
\(
[0-9]
\)
.*/
\1
/"
`
-lt
4
;
then
echo
"bash version >= 4 is required."
exit
99
exit
127
fi
# git-lfs needs to be installed
if
!
command
-v
git-lfs
>
/dev/null 2>/dev/null
;
then
echo
"git-lfs is required"
exit
99
exit
127
fi
# grep needs to be installed
if
!
command
-v
grep
--version
>
/dev/null 2>/dev/null
;
then
echo
"grep is required"
exit
99
exit
127
fi
function
run
{
...
...
This diff is collapsed.
Click to expand it.
doc/build-manuals.sh
+
2
−
2
View file @
5e352960
...
...
@@ -3,13 +3,13 @@
# GNU parallel needs to be installed
if
!
command
-v
parallel
>
/dev/null 2>/dev/null
;
then
echo
"parallel is required"
exit
99
exit
127
fi
# latexmk needs to be installed
if
!
command
-v
latexmk
>
/dev/null 2>/dev/null
;
then
echo
"latexmk is required"
exit
99
exit
127
fi
cd
$(
dirname
$0
)
...
...
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