mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-27 07:55:14 +00:00
c37806c16a
from r2pipe import r2pipe r = r2pipe("/bin/ls") print(r.cmdj("ij")["bin"]["arch"]
12 lines
174 B
Plaintext
12 lines
174 B
Plaintext
PYTHON_VERSION=2.7
|
|
PYTHON=python${PYTHON_VERSION}
|
|
|
|
[ -z "${PREFIX}" ] && PREFIX=/usr
|
|
ID=`id -u`
|
|
if [ "$ID" = 0 ]; then
|
|
SUDO=
|
|
else
|
|
SUDO=sudo
|
|
fi
|
|
[ -n "${NOSUDO}" ] && SUDO=
|