mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
fixed QEMU install on systems where python -> python3
This commit is contained in:
parent
5c5b5a1647
commit
8fecb78387
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
curl http://wiki.qemu-project.org/download/qemu-2.4.0.1.tar.bz2 | tar xj
|
||||
cd qemu-2.4.0.1
|
||||
./configure --prefix=$(dirname $PWD)
|
||||
if [[ "$(python --version 2>&1)" =~ Python\ 3 ]]; then
|
||||
./configure "--prefix=$(dirname $PWD)" "--python=$(which python2)"
|
||||
else
|
||||
./configure "--prefix=$(dirname $PWD)"
|
||||
fi
|
||||
make -j $(nproc)
|
||||
make install
|
||||
|
|
Loading…
Reference in a new issue