diff main.c @ 1032:40d0c96a8e89 draft

Add scripts/single.sh to build individual non-multiplexed standalone commands. Alas, you can't quite do this yet: make defconfig make for i in $(./toybox) do echo $i PREFIX=singles/ scripts/single.sh $i || break done Because the OLDTOY() aliases for commands won't build without the base command. And I can't just skip them because chown/chmod or mv/cp aren't the same thing.
author Rob Landley <rob@landley.net>
date Fri, 30 Aug 2013 01:53:31 -0500
parents 71f64e2f24a9
children acf7bb2b99e2
line wrap: on
line diff
--- a/main.c	Thu Aug 29 17:55:46 2013 -0500
+++ b/main.c	Fri Aug 30 01:53:31 2013 -0500
@@ -161,7 +161,7 @@
 {
   if (CFG_TOYBOX_I18N) setlocale(LC_ALL, "");
 
-  if (!CFG_TOYBOX_SINGLE) {
+  if (CFG_TOYBOX) {
     // Trim path off of command name
     *argv = basename(*argv);