Permalink
Browse files

* Move RELEASE stuff from doc/releases to DEVELOPERS

* Fix env.sh
  • Loading branch information...
1 parent 486ee53 commit f116b681e6e80ab30d36a3941be5474efd38af28 @radare committed Jul 19, 2011
Showing with 25 additions and 19 deletions.
  1. +15 −0 DEVELOPERS
  2. +0 −15 doc/releases
  3. +10 −4 env.sh
View
15 DEVELOPERS
@@ -132,5 +132,20 @@ work and then export all those patchsets like this:
TODO: explain binary patchsets and how to dump a full branch
+HOW TO RELEASE
+--------------
+
+ - Set RELEASE=1 in global.mk and r2-bindings/config.mk.acr
+
+ == RADARE2
+ - bump revision
+ - ./configure
+ - make dist
+
+ == R2-BINDINGS
+ - ./configure --enable-devel
+ - make
+ - make dist
+
--pancake
View
15 doc/releases
@@ -53,18 +53,3 @@ FUTURE
------
- Commands should be handled in a structural way, not by a bunch of switch/cases
-
-HOW TO RELEASE
---------------
-
- - Set RELEASE=1 in global.mk and r2-bindings/config.mk.acr
-
- == RADARE2
- - bump revision
- - ./configure
- - make dist
-
- == R2-BINDINGS
- - ./configure --enable-devel
- - make
- - make dist
View
14 env.sh 100644 → 100755
@@ -1,10 +1,16 @@
#!/bin/sh
+pfx=$1
+if [ -z "$pfx" ]; then
+ echo "Usage: ./env.sh [path-to-prefix]"
+ exit 1
+fi
+
new_env='
-LIBR_PLUGINS=$PWD/prefix/lib/radare2
-PATH=$PATH:$PWD/prefix/bin
-LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
-DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
+LIBR_PLUGINS=${pfx}/lib/radare2
+PATH=$pfx/bin:${PATH}
+LD_LIBRARY_PATH=$pfx/lib:$LD_LIBRARY_PATH
+DYLD_LIBRARY_PATH=$pfx/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=$PWD/libr/
'

0 comments on commit f116b68

Please sign in to comment.