From 2e210dd171208f764fc08238f04cfe5f292ec6c9 Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 1 Sep 2021 12:47:41 +0200 Subject: [PATCH] Fix confusing 'oops' message in the Lc command ##core --- libr/core/cmd_log.c | 5 ++++- sys/jam.sh | 30 ------------------------------ sys/maemo.sh | 12 ------------ 3 files changed, 4 insertions(+), 43 deletions(-) delete mode 100755 sys/jam.sh delete mode 100755 sys/maemo.sh diff --git a/libr/core/cmd_log.c b/libr/core/cmd_log.c index 16b13f9aa0..7815e864dd 100644 --- a/libr/core/cmd_log.c +++ b/libr/core/cmd_log.c @@ -388,6 +388,9 @@ static int cmd_plugins(void *data, const char *input) { pj_free (pj); break; } + case ' ': + r_lib_open (core->lib, r_str_trim_head_ro (input + 2)); + break; case 0: r_lib_list (core->lib); r_list_foreach (core->rcmd->plist, iter, cp) { @@ -395,7 +398,7 @@ static int cmd_plugins(void *data, const char *input) { } break; default: - eprintf ("oops\n"); + r_core_cmd_help (core, help_msg_L); break; } } diff --git a/sys/jam.sh b/sys/jam.sh deleted file mode 100755 index 0087329af3..0000000000 --- a/sys/jam.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# shellcheck disable=SC2046 -rm -rf $(find ./*| grep bin/darwin) -cd shlr -for a in ./* ; do - if [ -e "$a/Jamroot" ]; then - cd "$a" || exit 1 - bjam -j4 - cd .. - fi -done -cd ../libr -for a in ./* ; do - if [ -e "$a/Jamroot" ]; then - cd "$a" || exit 1 - bjam -j4 - cd .. - fi -done - -cd .. -cd binr -for a in ./* ; do - if [ -e "$a/Jamroot" ]; then - cd "$a" || exit 1 - bjam -j4 - cd .. - fi -done diff --git a/sys/maemo.sh b/sys/maemo.sh deleted file mode 100755 index 69961119c7..0000000000 --- a/sys/maemo.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -mad list >/dev/null 2>&1 -if [ $? = 0 ]; then - make clean - echo './configure --prefix=/usr' | mad sh - echo make | mad sh - cd maemo - make -else - echo "Cannot find 'mad'. Please install QtSDK or QtCreator" - exit 1 -fi