20_msc.sh 398 Bytes
Newer Older
1
2
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
. ${DIR}/common.sh
4
5

# Build MSC tools
6
7
cd $DIR/../taste-MSC/ || exit 1
make || exit 1
8
9

# Install them in .local/bin
10
11
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
12

13
# Update the path
14
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
15
UpdatePATH