radare2/sys/maemo.sh

13 lines
223 B
Bash
Executable File

#!/bin/sh
mad list >/dev/null 2>&1
if [ $? = 0 ]; then
make clean
echo './configure --prefix=/usr' | mad sh
echo make | mad sh
cd maemo
make
else
echo "Cannot find 'mad'. Please install QtSDK or QtCreator"
exit 1
fi