diff options
author | Rob Landley <rob@landley.net> | 2013-08-30 01:53:31 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-08-30 01:53:31 -0500 |
commit | d04dc1feb92a279e27e4487c502944f454d43837 (patch) | |
tree | e0bf10d7b9b3b7be24e3454d8014cd258bd6d24f /lib/xwrap.c | |
parent | dd4bed0f1dff419b9dca9424f2945baab727c3dd (diff) | |
download | toybox-d04dc1feb92a279e27e4487c502944f454d43837.tar.gz |
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.
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r-- | lib/xwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c index f5eb4d11..2b0690f3 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -127,7 +127,7 @@ void xexec_optargs(int skip) // 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]); |