Another whack at scripts/individual. Now builds 212 applets.

This commit is contained in:
Rob Landley
2006-08-09 20:56:23 +00:00
parent e55a73c7a8
commit 519d7df930
9 changed files with 84 additions and 50 deletions

View File

@@ -9,12 +9,14 @@
#ifdef L_full_version
#ifndef BB_EXTRA_VERSION
#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
#define BANNER "BusyBox v" BB_VER " (" BB_BT ")"
#else
#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
#define BANNER "BusyBox v" BB_VER " (" BB_EXTRA_VERSION ")"
#endif
const char * const libbb_msg_full_version = LIBBB_BANNER;
const char BB_BANNER[]=BANNER;
const char * const bb_msg_full_version = BANNER " multi-call binary";
#endif
#ifdef L_memory_exhausted
const char * const bb_msg_memory_exhausted = "memory exhausted";
#endif

View File

@@ -208,7 +208,7 @@ pid_t spawn(char **argv)
{
static int failed;
pid_t pid;
void *app = find_applet_by_name(argv[0]);
void *app = ENABLE_FEATURE_SH_STANDALONE_SHELL ? find_applet_by_name(argv[0]) : 0;
// Be nice to nommu machines.
failed = 0;