Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
taste-setup
Commits
44a0be1d
Commit
44a0be1d
authored
Jul 22, 2017
by
Maxime Perrotin
Browse files
Fix buildsupport install script
parent
c2e2dd1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/60_buildsupport.sh
View file @
44a0be1d
...
...
@@ -7,7 +7,7 @@ cd $DIR/../buildsupport || exit 1
# Skip Ocarina building if tree is clean and version is identical
HEAD
=
"
$(
git log
--oneline
|
head
-1
|
cut
-d
' '
-f1
)
"
VERSION_INSTALLED
=
"
$(
buildsupport
-v
2>&1 |
grep
-A1
Based |
tail
-1
|
tr
-d
'\012'
)
"
VERSION_INSTALLED
=
"
$(
buildsupport
-v
2>&1 |
grep
Version |
cut
-f
4
-d
' '
|
tr
-d
'\012'
)
"
git status
>
/dev/null
TREE_CLEAN
=
$?
if
[
${
TREE_CLEAN
}
-eq
0
-a
"
${
HEAD
}
"
==
"
${
VERSION_INSTALLED
}
"
]
;
then
...
...
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