Merge pull request #114 from StevenVanAcker/docker-fix-unicorn

compile first, install later
This commit is contained in:
Yan 2017-02-13 12:15:40 -08:00 committed by GitHub
commit 20cb258db2

View file

@ -6,6 +6,8 @@ git clone --depth 1 https://github.com/unicorn-engine/unicorn.git
source ctf-tools-venv-activate
pushd unicorn
echo "compiling unicorn"
UNICORN_QEMU_FLAGS="--python=$(which python)" PREFIX="$VIRTUAL_ENV" ./make.sh
echo "installing unicorn to $VIRTUAL_ENV"
UNICORN_QEMU_FLAGS="--python=$(which python)" PREFIX="$VIRTUAL_ENV" ./make.sh install