diff lib/xwrap.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 58bfd974216d
children acf7bb2b99e2
line wrap: on
line diff
--- a/lib/xwrap.c	Thu Aug 29 17:55:46 2013 -0500
+++ b/lib/xwrap.c	Fri Aug 30 01:53:31 2013 -0500
@@ -127,7 +127,7 @@
 // with a path isn't a builtin, so /bin/sh won't match the builtin sh.
 void xexec(char **argv)
 {
-  if (!CFG_TOYBOX_SINGLE) toy_exec(argv);
+  if (CFG_TOYBOX) toy_exec(argv);
   execvp(argv[0], argv);
 
   perror_exit("exec %s", argv[0]);