aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-08-30 01:53:31 -0500
committerRob Landley <rob@landley.net>2013-08-30 01:53:31 -0500
commitd04dc1feb92a279e27e4487c502944f454d43837 (patch)
treee0bf10d7b9b3b7be24e3454d8014cd258bd6d24f /main.c
parentdd4bed0f1dff419b9dca9424f2945baab727c3dd (diff)
downloadtoybox-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 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 8218b0fd..dd985b84 100644
--- a/main.c
+++ b/main.c
@@ -161,7 +161,7 @@ int main(int argc, char *argv[])
{
if (CFG_TOYBOX_I18N) setlocale(LC_ALL, "");
- if (!CFG_TOYBOX_SINGLE) {
+ if (CFG_TOYBOX) {
// Trim path off of command name
*argv = basename(*argv);