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