2009-02-06 05:28:33 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
new_env='
|
2009-02-09 08:54:09 +08:00
|
|
|
LIBR_PLUGINS=$PWD/prefix/lib/radare2
|
2009-02-06 05:28:33 +08:00
|
|
|
PATH=$PATH:$PWD/prefix/bin
|
|
|
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
|
2010-02-22 03:21:36 +08:00
|
|
|
DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
|
2009-02-16 06:32:17 +08:00
|
|
|
PKG_CONFIG_PATH=$PWD/libr/
|
2009-02-06 05:28:33 +08:00
|
|
|
'
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "==> Entering radare2 environment shell..."
|
|
|
|
echo
|
|
|
|
echo $new_env $SHELL \
|
|
|
|
| sed -e 's, ,\n,g' \
|
|
|
|
| sed -e 's,^, ,g' \
|
2009-03-12 10:03:18 +08:00
|
|
|
| sed -e 's,$, \\,'
|
2009-02-06 05:28:33 +08:00
|
|
|
echo
|
|
|
|
|
|
|
|
eval $new_env $SHELL
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "==> Back to system shell..."
|
|
|
|
echo
|