From da516fe9179dd121be9d1cf792832a393d93e20f Mon Sep 17 00:00:00 2001 From: pepe Date: Fri, 11 Aug 2023 21:21:58 +0000 Subject: [PATCH] :( --- applets/install.sh | 2 +- libbb/appletlib.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/applets/install.sh b/applets/install.sh index 415896893..9ec915134 100755 --- a/applets/install.sh +++ b/applets/install.sh @@ -49,6 +49,7 @@ if [ -n "$DO_INSTALL_LIBS" ] && [ x"$DO_INSTALL_LIBS" != x"n" ]; then libdir=/lib fi + libdir=/lib mkdir -p "$prefix/$libdir" || exit 1 for i in $DO_INSTALL_LIBS; do rm -f "$prefix/$libdir/$i" || exit 1 @@ -87,7 +88,6 @@ for i in $h; do echo " $prefix/$i already exists" continue fi - mkdir -p "$prefix/$appdir" || exit 1 if [ x"$scriptwrapper" = x"y" ]; then if [ x"$swrapall" != x"y" ] && [ x"$i" = x"/bin/sh" ]; then ln $linkopts busybox "$prefix/$i" || exit 1 diff --git a/libbb/appletlib.c b/libbb/appletlib.c index d5335d353..f54dfe876 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -153,12 +153,10 @@ void FAST_FUNC bb_show_usage(void) while (*p++) continue; ap--; } - full_write2_str(bb_banner); - full_write2_str(" multi-call binary.\n"); /* common string */ if (*p == '\b') - full_write2_str("\nNo help available\n"); + full_write2_str("No help available\n"); else { - full_write2_str("\nUsage: "); + full_write2_str("Usage: "); full_write2_str(applet_name); if (p[0]) { if (p[0] != '\n')