radare2/env.sh
pancake cd84224709 * Fix vapi/t build
* Add regexp search method in r_search
  - Uses libc regcomp+regexec
  - Added regexp test example
* Added libr.pc for pkg-config
2009-02-15 23:32:17 +01:00

24 lines
391 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
PKG_CONFIG_PATH=$PWD/libr/
'
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