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
119d1b14
Commit
119d1b14
authored
Sep 11, 2017
by
Maxime Perrotin
Browse files
Add mono prefix to asn1.exe call
parent
de5a67f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/15_asn1scc.sh
View file @
119d1b14
...
...
@@ -5,7 +5,8 @@ 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
VER
=
$(
asn1.exe 2>&1 |
grep
'^Current'
|
awk
'{print $NF}'
)
ASN1SCC_BIN
=
$(
which asn1.exe
)
VER
=
$(
mono
$ASN1SCC_BIN
2>&1 |
grep
'^Current'
|
awk
'{print $NF}'
)
if
[
"
${
VER
}
"
!=
"3.3.21"
]
;
then
wget
-q
-O
- https://github.com/ttsiodras/asn1scc/releases/download/3.3.21/asn1scc-bin-3.3.21.tar.bz2
\
|
tar
jxvf -
...
...
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