From 0029cc6adf475f7dbdc36198b9611babbbd854fa Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 6 Oct 2011 11:15:45 +0200 Subject: [PATCH] compat-wireless: make driver-select only select complete lines Otherwise we end up enabling CONFIG_FOOBAR if only CONFIG_FOO is requested. Signed-off-by: Johannes Berg --- scripts/driver-select | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/driver-select b/scripts/driver-select index 35581123712d..f5715190be19 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -86,7 +86,7 @@ function disable_makefile function select_driver { backup_file $DRIVERS_MAKEFILE - perl -i -ne 'print if /'$1'/ ' $DRIVERS_MAKEFILE + perl -i -ne 'print if /'$1'\)/ ' $DRIVERS_MAKEFILE } function select_drivers -- 2.30.2