mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-23 05:02:30 +00:00
tools: improve demo_setup.sh
1. Account for the fact that go can be already in path. 2. Unset GOROOT in case it is set already. 3. export variables (not sure how it worked for me).
This commit is contained in:
parent
d613535f94
commit
54907ddb1e
@ -21,10 +21,11 @@
|
||||
|
||||
set -eux
|
||||
|
||||
DIR=$PWD
|
||||
PATH=$PATH:$DIR/go/bin
|
||||
GOPATH=$DIR/gopath
|
||||
NVM=$(((`free -g | grep "Mem:" | awk '{print $2}'`-1)/3))
|
||||
export DIR=$PWD
|
||||
export PATH=$DIR/go/bin:$PATH
|
||||
export GOPATH=$DIR/gopath
|
||||
export GOROOT=
|
||||
export NVM=$(((`free -g | grep "Mem:" | awk '{print $2}'`-1)/3))
|
||||
|
||||
sudo apt-get install -y -q make git curl bison flex bc libssl-dev gcc g++ qemu-system-x86
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user