mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-13 01:17:05 +00:00
11 lines
306 B
Bash
Executable file
11 lines
306 B
Bash
Executable file
#!/bin/bash
|
|
|
|
curl http://wiki.qemu-project.org/download/qemu-2.6.1.tar.bz2 | tar xvj
|
|
cd qemu-2.6.1
|
|
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
|