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
924e39bc
Commit
924e39bc
authored
Feb 21, 2017
by
Thanassis Tsiodras
Browse files
Fix more paths
parent
4a3ea018
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/20_msc.sh
View file @
924e39bc
#!/bin/bash
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
TASTE_PATHS
=
$HOME
/.bashrc.taste
# Build MSC tools
cd
$DIR
/../taste-MSC/
||
exit
1
...
...
@@ -7,5 +8,6 @@ make || exit 1
cp
./MSC-Antlr3/bin/msc2py.exe
$HOME
/.local/bin
||
exit
1
cp
./MSC-Antlr3/bin/taste-extract-asn-from-design.exe
$HOME
/.local/bin
||
exit
1
# Install them in .local/bin
PATH_CMD
=
'export PATH=$PATH:$HOME/.local/bin'
grep
"
${
PATH_CMD
}
"
${
TASTE_PATHS
}
>
/dev/null
||
echo
"
${
PATH_CMD
}
"
>>
${
TASTE_PATHS
}
install/50_opengeode.sh
View file @
924e39bc
...
...
@@ -2,3 +2,7 @@
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
$DIR
/../opengeode
||
exit
1
pip
install
--user
--upgrade
.
||
exit
1
# Add .local/bin to PATH
PATH_CMD
=
'export PATH=$PATH:$HOME/.local/bin'
grep
"
${
PATH_CMD
}
"
${
TASTE_PATHS
}
>
/dev/null
||
echo
"
${
PATH_CMD
}
"
>>
${
TASTE_PATHS
}
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