Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Charles Southerland
frama-c
Commits
c1c1951e
Commit
c1c1951e
authored
Nov 28, 2018
by
David Bühler
Browse files
Fixes the build-src-distrib script for the new VERSION format.
parent
78868d5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/build-src-distrib.sh
View file @
c1c1951e
...
...
@@ -36,7 +36,7 @@ FRAMAC_VERSION_CODENAME=$(cat VERSION_CODENAME)
FRAMAC_VERSION_AND_CODENAME
=
"
${
FRAMAC_VERSION
}
-
${
FRAMAC_VERSION_CODENAME
}
"
TARGZ_FILENAME
=
frama-c-
${
FRAMAC_VERSION_AND_CODENAME
}
.tar.gz
VERSION_MODIFIER
=
$(
cat
VERSION |
sed
-e
s/[
A-Za-z]
*
-[
0-9]
*
\\\(
.
*
\\\)
/
\\
1/
)
VERSION_MODIFIER
=
$(
cat
VERSION |
sed
-e
s/[0-9
.
]
*
\\\(
.
*
\\\)
/
\\
1/
)
if
test
-n
"
$VERSION_MODIFIER
"
;
then
FINAL_RELEASE
=
no
;
else
FINAL_RELEASE
=
yes
;
fi
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment