Fix Android tarball creation and add 'echo' command

This commit is contained in:
pancake 2013-10-08 16:07:17 +02:00
parent 1578ae90cb
commit 1ab8dc27ea
3 changed files with 10 additions and 1 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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