radare2/autogen.sh

28 lines
536 B
Bash
Raw Normal View History

#!/bin/sh
#
2014-09-12 13:37:59 +00:00
# Look for the 'acr' tool here: https://github.com/radare/acr
# Clone last version of ACR from here:
2014-09-12 13:37:59 +00:00
# git clone https://github.com/radare/acr
#
# -- pancake
r2pm -h >/dev/null 2>&1
if [ $? = 0 ]; then
echo "Installing the last version of 'acr'..."
r2pm -i acr > /dev/null
r2pm -r acr -h > /dev/null 2>&1
if [ $? = 0 ]; then
echo "Running 'acr -p'..."
r2pm -r acr -p
else
echo "Cannot find 'acr' in PATH"
fi
else
echo "Running acr..."
acr -p
fi
if [ -n "$1" ]; then
2015-04-17 20:11:53 +00:00
echo "./configure $*"
2015-04-29 08:41:18 +00:00
./configure $*
fi