mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
fix up angr install
This commit is contained in:
parent
b4528c27bb
commit
d443655abb
1 changed files with 11 additions and 6 deletions
17
angr/install
17
angr/install
|
@ -1,13 +1,18 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/PyQt4 ] || ln -s /usr/lib/python2.7/dist-packages/PyQt4 $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/sip.so ] || ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/pygraphviz ] || ln -s /usr/lib/pymodules/python2.7/pygraphviz $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
if [ -z "$VIRTUAL_ENV" ]
|
||||
then
|
||||
echo "Please activate the ctftools virtualenv before installing angr."
|
||||
exit
|
||||
fi
|
||||
|
||||
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/PyQt4 ] || ln -s /usr/lib/python2.7/dist-packages/PyQt4 $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/sip.so ] || ln -s /usr/lib/python2.7/dist-packages/sip.so $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
#[ -e $VIRTUAL_ENV/lib/python2.7/site-packages/pygraphviz ] || ln -s /usr/lib/pymodules/python2.7/pygraphviz $VIRTUAL_ENV/lib/python2.7/site-packages/
|
||||
|
||||
git clone --depth 1 https://github.com/angr/angr-dev
|
||||
cd angr-dev
|
||||
./setup.sh
|
||||
cd ..
|
||||
angr-dev/setup.sh -w -r https://git:@github.com/salls angrop
|
||||
rm -rf angr-dev/wheels
|
||||
|
||||
mkdir -p bin
|
||||
cd bin
|
||||
|
|
Loading…
Reference in a new issue