This commit is contained in:
pepe 2023-08-11 21:21:58 +00:00
parent 1a64f6a20a
commit da516fe917
2 changed files with 3 additions and 5 deletions

View File

@ -49,6 +49,7 @@ if [ -n "$DO_INSTALL_LIBS" ] && [ x"$DO_INSTALL_LIBS" != x"n" ]; then
libdir=/lib libdir=/lib
fi fi
libdir=/lib
mkdir -p "$prefix/$libdir" || exit 1 mkdir -p "$prefix/$libdir" || exit 1
for i in $DO_INSTALL_LIBS; do for i in $DO_INSTALL_LIBS; do
rm -f "$prefix/$libdir/$i" || exit 1 rm -f "$prefix/$libdir/$i" || exit 1
@ -87,7 +88,6 @@ for i in $h; do
echo " $prefix/$i already exists" echo " $prefix/$i already exists"
continue continue
fi fi
mkdir -p "$prefix/$appdir" || exit 1
if [ x"$scriptwrapper" = x"y" ]; then if [ x"$scriptwrapper" = x"y" ]; then
if [ x"$swrapall" != x"y" ] && [ x"$i" = x"/bin/sh" ]; then if [ x"$swrapall" != x"y" ] && [ x"$i" = x"/bin/sh" ]; then
ln $linkopts busybox "$prefix/$i" || exit 1 ln $linkopts busybox "$prefix/$i" || exit 1

View File

@ -153,12 +153,10 @@ void FAST_FUNC bb_show_usage(void)
while (*p++) continue; while (*p++) continue;
ap--; ap--;
} }
full_write2_str(bb_banner);
full_write2_str(" multi-call binary.\n"); /* common string */
if (*p == '\b') if (*p == '\b')
full_write2_str("\nNo help available\n"); full_write2_str("No help available\n");
else { else {
full_write2_str("\nUsage: "); full_write2_str("Usage: ");
full_write2_str(applet_name); full_write2_str(applet_name);
if (p[0]) { if (p[0]) {
if (p[0] != '\n') if (p[0] != '\n')