Fix confusing 'oops' message in the Lc command ##core
This commit is contained in:
parent
c4622b6603
commit
2e210dd171
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
30
sys/jam.sh
30
sys/jam.sh
|
@ -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
|
12
sys/maemo.sh
12
sys/maemo.sh
|
@ -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
|
Loading…
Reference in New Issue