mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 06:09:50 +00:00
Fix Android tarball creation and add 'echo' command
This commit is contained in:
parent
1578ae90cb
commit
1ab8dc27ea
@ -158,3 +158,4 @@ The door controls time and space.
|
||||
The door can see into your soul.
|
||||
Undefined symbol 'r_anal_fisting'
|
||||
I am Pentium of Borg. Division is futile. You will be approximated
|
||||
Don't look at the code. Don't look.
|
||||
|
@ -516,6 +516,7 @@ static int cmd_resize(void *data, const char *input) {
|
||||
}
|
||||
|
||||
static int cmd_eval(void *data, const char *input) {
|
||||
char *p;
|
||||
RCore *core = (RCore *)data;
|
||||
switch (input[0]) {
|
||||
case 'x': // exit
|
||||
@ -525,6 +526,13 @@ static int cmd_eval(void *data, const char *input) {
|
||||
break;
|
||||
case 'c':
|
||||
switch (input[1]) {
|
||||
case 'h': // echo
|
||||
p = strchr (input, ' ');
|
||||
if (p) {
|
||||
r_cons_strcat (p+1);
|
||||
r_cons_newline ();
|
||||
}
|
||||
break;
|
||||
case 'd':
|
||||
r_cons_pal_init (NULL);
|
||||
break;
|
||||
|
@ -119,7 +119,7 @@ WWWROOT="/data/data/org.radare.installer/radare2/lib/radare2/${VERSION}/www"
|
||||
ln -fs /data/data/org.radare.installer/radare2/${WWWROOT} \
|
||||
/data/data/org.radare.installer/www
|
||||
cd $D
|
||||
tar czvf ../$D.tar.gz *
|
||||
tar -czovf ../$D.tar.gz data
|
||||
cd ..
|
||||
D2=`git log HEAD 2>/dev/null|head -n1|awk '{print $2}'|cut -c 1-8`
|
||||
if [ -n "$D2" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user