Commit Graph

28 Commits

Author SHA1 Message Date
pancake
88580023d3 Old shells expect number for test -gt 2024-02-06 18:51:28 +01:00
pancake
086c36c582 Maybe comparing empty string with -gt 2024-02-06 16:40:36 +01:00
pancake
e96fa2f31f Fix env.sh for haiku 2023-10-02 23:29:03 +02:00
Maijin
b60a25b914 Add more R2_ prefix for some var 2018-08-07 22:14:54 +02:00
pancake
491aef89c7 Blind fix for #9576 2018-03-05 12:06:34 +01:00
Riccardo Schirone
2f306d01a3 env.sh: wrap arguments around "" and no special handling for last arg 2016-02-25 13:33:17 +01:00
Riccardo Schirone
6ef4f37add env.sh: fix var substitution issue
the issue was when using a number of parameter greater than 9. For
example, to evaluate the 10th param, the substution was $10, but this
was interpreted as $1 + 0, so the issue radare20. Using ${10} should fix
the issue.
2016-02-22 18:20:00 +01:00
pancake
a97e7ec01b Rewrite jot/seq loop in env.sh 2016-02-21 22:38:04 +01:00
Eugene Kolo
edfc4c9768 Fixed argument check in env.sh 2016-01-22 16:41:42 -05:00
bydo
a18d8cc08f try jot when seq not available 2015-11-05 16:11:57 +01:00
sghctoma
c3d64d60d4 Fixed quoting in wrapper shell scripts. 2015-11-02 12:00:21 +01:00
Jeffrey Crowell
d861f20d07 whoops, remove bash in shbang 2015-08-22 01:39:42 -04:00
Jeffrey Crowell
9d19e2946b make env.sh work in dash 2015-08-22 01:37:47 -04:00
Jeffrey Crowell
de3facf3a9 do cannonicalize path the right way (tm) 2015-08-13 15:16:27 -04:00
pancake
00b2240893 Simplify env.sh path construction code 2015-08-13 20:42:06 +02:00
pancake
5bf55a76fe Handle ~ in env.sh for some shells 2015-08-13 20:32:30 +02:00
pancake
18421429b9 Handle relative paths in env.sh 2015-08-13 20:23:59 +02:00
pancake
f292e82822 env.sh now supports DESTDIR 2015-07-20 22:50:33 +02:00
Avi Weinstock
cb228a31e5 Add call to readlink in env.sh, to allow specifying relative paths. 2015-06-23 13:12:21 -04:00
Avi Weinstock
e75deb3f18 Fix setting of PKG_CONFIG_PATH and DYLD_LIBRARY_PATH in env.sh
PKG_CONFIG_PATH was definitely being set incorrectly, as radare2-binding's configure script was complaining about not finding r_core via pkg-config.
I wasn't noticing any issues related to DYLD_LIBRARY_PATH, but it looked like it was clobbering the old value of it with LD_LIBRARY_PATH, rather than just prepending the new value.
2015-06-23 11:05:49 -04:00
pancake
dff0ccbeb0 Add user-install and user-uninstall make targets
- Add sys/user.sh to install r2 at home
2014-12-22 04:50:08 +01:00
pancake
f116b681e6 * Move RELEASE stuff from doc/releases to DEVELOPERS
* Fix env.sh
2011-07-19 12:52:51 +02:00
pancake/imac
9890c6e8b0 * Fix build in OSX
- env.sh now also uses DYLD_LIBRARY_PATH
  - Fixes in ollyasm/dis to link with no global variables
    - Remove double definition of global _state
    - Same for asm_java
  - Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
    - Fixes linkage in osx
  - anal_x86_bea plugin now links correctly against BeaEgine.o
  - dietline is now #include'd from line.c
  - no debugger support yet
  - Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
2010-02-21 20:21:36 +01:00
pancake
1c3a319c53 * Added 'pkgcfg' directory with autogenerated .pc files
- 'make pkgcfg' does that automagically :)
* Implement r_mem_mem function in r_util
2009-07-16 00:30:20 +00:00
pancake
cfc2882d14 * Fix scrolling in visual (drop s eip in cmd.vprompt)
* Add cmd.visual that runs when entering in visual mode
2009-03-12 02:03:18 +00:00
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
pancake
9bd9cbe135 * Fix LIBR_PLUGINS in env.sh
* 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
2009-02-09 01:54:09 +01:00
pancake
05b40f0e75 * Fix build issues - fix build order
* Plugin directory renamed to 'p'
* Add env.sh to enter into a "radare2 development shell"

--HG--
rename : libr/io/plugins/Makefile => libr/io/p/Makefile
rename : libr/io/plugins/README => libr/io/p/README
rename : libr/io/plugins/dbg.c => libr/io/p/dbg.c
rename : libr/io/plugins/malloc.c => libr/io/p/malloc.c
rename : libr/io/plugins/ptrace.c => libr/io/p/ptrace.c
2009-02-05 22:28:33 +01:00