3 then echo "Please run as root"
7 export MYNAME
=`id 1000 | awk '{print $1}' | sed 's/.*(\(.*\))/\1/'`
8 export MYHOME
=/home
/$MYNAME
10 runuser
$MYNAME --preserve-environment -c '
14 git clone https://github.com/nmigen/nmigen.git
15 git clone https://git.libre-riscv.org/git/nmutil.git
16 git clone https://git.libre-riscv.org/git/ieee754fpu.git
17 git clone https://git.libre-riscv.org/git/soc.git
19 cd /home
/$MYNAME/src
/nmigen
20 python3 setup.py develop
23 python3 setup.py develop
25 git submodule update
--init --recursive
26 python3 setup.py develop
28 git submodule update
--init --recursive
29 python3 setup.py develop