We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7004c61 commit a65e045Copy full SHA for a65e045
qemu/install
@@ -1,11 +1,10 @@
1
#!/bin/bash
2
+set -e -o pipefail
3
4
curl http://wiki.qemu-project.org/download/qemu-2.6.1.tar.bz2 | tar xvj
5
cd qemu-2.6.1
-if [[ "$(python --version 2>&1)" =~ Python\ 3 ]]; then
6
- ./configure "--prefix=$(dirname $PWD)" "--python=$(which python2)"
7
-else
8
- ./configure "--prefix=$(dirname $PWD)"
9
-fi
+
+source ctf-tools-venv-activate
+./configure "--prefix=$(dirname $PWD)" "--python=$(which python)"
10
make -j $(nproc)
11
make install
0 commit comments