From 0b52d46bb7bcc59b5ef3d403ed8eb10e6bce4bef Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Apr 11 2023 10:02:30 +0000 Subject: run_oldconfig.sh: Set VANILLA_ONLY with vanilla source variant. VANILLA_ONLY is no longer set in config.sh, instead variant is set ot vanilla. Make run_oldconfig.sh reflect that. --- diff --git a/scripts/run_oldconfig.sh b/scripts/run_oldconfig.sh index 357692a..d18aa1f 100755 --- a/scripts/run_oldconfig.sh +++ b/scripts/run_oldconfig.sh @@ -254,6 +254,9 @@ scripts="${prefix}scripts" if test -e "${prefix}rpm/config.sh"; then source "$_" fi +if [ "$VARIANT" = "-vanilla" ] ; then + VANILLA_ONLY=1 +fi if test -z "$set_flavor" && test "$VANILLA_ONLY" = 1 -o -e .is_vanilla; then set_flavor=vanilla fi