Fix confusing 'oops' message in the Lc command ##core

This commit is contained in:
pancake 2021-09-01 12:47:41 +02:00
parent c4622b6603
commit 2e210dd171
3 changed files with 4 additions and 43 deletions

View File

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

View File

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

View File

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