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
91e4b8c7
Commit
91e4b8c7
authored
Feb 22, 2017
by
Thanassis Tsiodras
Browse files
Install ASN1SCC only if it's not there yet.
parent
5d8f3e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/15_asn1scc.sh
View file @
91e4b8c7
...
...
@@ -5,8 +5,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Fetch and install latest ASN1SCC release
mkdir
-p
${
PREFIX
}
/share/asn1scc/
||
exit
1
cd
${
PREFIX
}
/share/
||
exit
1
wget
-q
-O
- https://github.com/ttsiodras/asn1scc/releases/download/3.3.9/asn1scc-bin-3.3.9.tar.gz
\
|
tar
zxvf -
VER
=
$(
asn1.exe 2>&1 |
grep
'^Current'
|
awk
'{print $NF}'
)
if
[
"
${
VER
}
"
!=
"3.3.09"
]
;
then
wget
-q
-O
- https://github.com/ttsiodras/asn1scc/releases/download/3.3.9/asn1scc-bin-3.3.9.tar.gz
\
|
tar
zxvf -
fi
# Add to PATH
PATH_CMD
=
'export PATH=$PATH:'
"
${
PREFIX
}
/share/asn1scc/"
...
...
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