* Initial implementation of the visual mode in core * Added pc and ps print formats (c code and string) * Added '/' command in core (search hexa and str) * Add '-d' to radare2 test program * New r_file_path to resolve file path thru $PATH * 'make install' works everywhere
22 lines
364 B
Bash
Executable file
22 lines
364 B
Bash
Executable file
#!/bin/sh
|
|
|
|
new_env='
|
|
LIBR_PLUGINS=$PWD/prefix/lib/radare2
|
|
PATH=$PATH:$PWD/prefix/bin
|
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
|
|
'
|
|
|
|
echo
|
|
echo "==> Entering radare2 environment shell..."
|
|
echo
|
|
echo $new_env $SHELL \
|
|
| sed -e 's, ,\n,g' \
|
|
| sed -e 's,^, ,g' \
|
|
| sed -e 's,$,\\,'
|
|
echo
|
|
|
|
eval $new_env $SHELL
|
|
|
|
echo
|
|
echo "==> Back to system shell..."
|
|
echo
|