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
848c023d
Commit
848c023d
authored
2 years ago
by
Loïc Correnson
Committed by
David Bühler
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[install] fix incorrect TMPDIR usage
parent
11daac89
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
ivette/ivette-bootstrap.sh
+5
-5
5 additions, 5 deletions
ivette/ivette-bootstrap.sh
with
5 additions
and
5 deletions
ivette/ivette-bootstrap.sh
+
5
−
5
View file @
848c023d
...
@@ -87,15 +87,15 @@ fi
...
@@ -87,15 +87,15 @@ fi
echo
"[2/3] Compiling Ivette"
echo
"[2/3] Compiling Ivette"
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
TMPDIR
=
`
mktemp
-d
`
IVETTE_
TMP
_
DIR
=
`
mktemp
-d
`
cd
$TMPDIR
cd
$
IVETTE_
TMP
_
DIR
tar
zxf
$PREFIX
/lib/frama-c/ivette.tgz
tar
zxf
$PREFIX
/lib/frama-c/ivette.tgz
cd
ivette
cd
ivette
make dist
make dist
if
[
"
$?
"
!=
"0"
]
if
[
"
$?
"
!=
"0"
]
then
then
echo
"Compilation Failed"
echo
"Compilation Failed"
rm
-fr
$TMPDIR
rm
-fr
$
IVETTE_
TMP
_
DIR
exit
2
exit
2
fi
fi
...
@@ -107,11 +107,11 @@ make PREFIX=$PREFIX install
...
@@ -107,11 +107,11 @@ make PREFIX=$PREFIX install
if
[
"
$?
"
!=
"0"
]
if
[
"
$?
"
!=
"0"
]
then
then
echo
"Installation Failed"
echo
"Installation Failed"
rm
-fr
$TMPDIR
rm
-fr
$
IVETTE_
TMP
_
DIR
exit
3
exit
3
fi
fi
cd
$USERCWD
cd
$USERCWD
rm
-fr
$TMPDIR
rm
-fr
$
IVETTE_
TMP
_
DIR
rm
-f
$PREFIX
/lib/frama-c/ivette.tgz
rm
-f
$PREFIX
/lib/frama-c/ivette.tgz
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
...
...
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