From 9f4df994dd9342f8e9a7bb11e92d28e89033a243 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 12 Feb 2024 02:19:13 -0600 Subject: [PATCH] Oliver Webb noticed that MAYFORK OLDTOY() aliases don't become builtins. --- scripts/single.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/single.sh b/scripts/single.sh index f4f28be9..e2ed9880 100755 --- a/scripts/single.sh +++ b/scripts/single.sh @@ -35,10 +35,11 @@ do make allnoconfig > /dev/null || exit 1 + # For the shell pull in MAYFORK commands from other source files as builtins. unset DEPENDS MPDEL if [ "$i" == sh ] then - DEPENDS="$($SED -n 's/USE_\([^(]*\)(NEWTOY([^,]*,.*TOYFLAG_MAYFORK.*/\1/p' toys/*/*.c)" + DEPENDS="$($SED -n 's/USE_\([^(]*\)(...TOY([^,]*,.*TOYFLAG_MAYFORK.*/\1/p' toys/*/*.c)" else MPDEL='s/CONFIG_TOYBOX=y/# CONFIG_TOYBOX is not set/;t' fi -- 2.39.2