Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
taste-setup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
taste-setup
Commits
fd9d4edc
Commit
fd9d4edc
authored
Jul 22, 2017
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly place the quotes
parent
1f2ced7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install/53_pymsc.sh
install/53_pymsc.sh
+2
-2
No files found.
install/53_pymsc.sh
View file @
fd9d4edc
...
...
@@ -6,12 +6,12 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd
$DIR
/../pymsc
||
exit
1
# Skip install if the version installed is the same and the tree is clean
HEAD
=
"
$(
grep
__version msccore/__init__.py |
awk
'{print $NF}'
)
"
|
tr
-d
'"'
HEAD
=
"
$(
grep
__version msccore/__init__.py |
awk
'{print $NF}'
|
tr
-d
'"'
)
"
VERSION_INSTALLED
=
"
$(
pip2 freeze |
grep
taste-msc |
awk
-F
=
'{print $NF}'
)
"
git status
>
/dev/null
TREE_CLEAN
=
$?
if
[
${
TREE_CLEAN
}
-eq
0
-a
${
HEAD
}
-eq
${
VERSION_INSTALLED
}
]
;
then
if
[
${
TREE_CLEAN
}
-eq
0
-a
"
${
HEAD
}
"
==
"
${
VERSION_INSTALLED
}
"
]
;
then
echo
taste-msc tree is clean and already installed. Skipping taste-msc install...
exit
0
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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