Commit 9cd542ba authored by Andrey Filippov's avatar Andrey Filippov

added installation script for 393

parent f1e33691
#!/bin/sh
#http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
if [ -z "$1" ]
then
echo "You need to specify instllation root"
exit 1
fi
install -d -v $1/usr/local/verilog/
install -d -v $1/usr/local/bin/
install -v -m 0755 py393sata/*.py $1/usr/local/bin/
install -v -m 0644 x393_sata.bit $1/usr/local/verilog/
exit 0
\ No newline at end of file
Markdown is supported
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