Commit 2b69a48d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Sync up with latest ASN1SCC.

parent 8d96dcdd
Pipeline #2842 canceled with stage
in 9 minutes and 35 seconds
......@@ -6,10 +6,12 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p "${PREFIX}/share/asn1scc/" || exit 1
cd "${PREFIX}/share/" || exit 1
VER=$(mono ~/tool-inst/share/asn1scc/asn1.exe -v | head -1 | awk '{print $NF}')
if [ "${VER}" != "4.2.0.1f" ] ; then
wget -q -O - https://github.com/ttsiodras/asn1scc/releases/download/4.2.0.1.f/asn1scc-bin-4.2.0.1f.tar.bz2 \
if [ "${VER}" != "4.2.4.3f" ] ; then
wget -q -O - https://github.com/ttsiodras/asn1scc/releases/download/4.2.4.3f/asn1scc-bin-4.2.4.3f.tar.bz2 \
| tar jxvf -
fi
# Delete the AST cache folder in case the new version of the compiler generates different XML/Python output
find $HOME/.taste_AST_cache/ -type f -delete
# Add to PATH
PATH_CMD='export PATH=$PATH:'"${PREFIX}/share/asn1scc/"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment