mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-08 11:23:27 +00:00
Kill duktape.sh (is in r2pm)
This commit is contained in:
parent
03146b2bdb
commit
28faa5175d
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# find root
|
||||
cd `dirname $PWD/$0`
|
||||
./clone-r2-bindings.sh
|
||||
cd ..
|
||||
|
||||
# workaround for osx
|
||||
if [ -f /usr/lib/pkgconfig/r_util.pc ]; then
|
||||
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
||||
fi
|
||||
[ -z "${PREFIX}" ] && PREFIX=/usr
|
||||
ID=`id -u`
|
||||
[ -n "${NOSUDO}" ] && SUDO=
|
||||
|
||||
export DESTDIR
|
||||
|
||||
cd radare2-bindings
|
||||
./configure --prefix=/usr --enable=duktape || exit 1
|
||||
cd libr/lang/p
|
||||
make clean
|
||||
make || exit 1
|
||||
rm -f ~/.config/radare2/plugins/lang_duktape.*
|
||||
if [ "$1" != '--no-install' ]; then
|
||||
if [ "$ID" = 0 ]; then
|
||||
${SUDO} make install DESTDIR=${DESTDIR}
|
||||
else
|
||||
make install-home
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user