Fix driver selecting disable for eeprom and usb
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 5 Aug 2009 15:43:31 +0000 (08:43 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 5 Aug 2009 15:43:31 +0000 (08:43 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/driver-select

index c7c97df9ab4cbc37706594fdae09b3a0855dc2c8..3ada218229f2be9ee6521c61f28d2135df3ddfc2 100755 (executable)
@@ -86,13 +86,13 @@ function disable_ssb
 function disable_eeprom
 {
        disable_makefile ${EEPROM_MAKEFILE}
-       perl -i -ne 'print if ! /drivers\/misc\/eeprom\// \\' Makefile
+       perl -i -ne 'print if ! /drivers\/misc\/eeprom\/ \\/' Makefile
 }
 
 function disable_usbnet
 {
        disable_makefile ${DRIVERS_NET_USB_MAKEFILE}
-       perl -i -ne 'print if ! /drivers\/net\/usb\// \\' Makefile
+       perl -i -ne 'print if ! /drivers\/net\/usb\/ \\/' Makefile
 }
 
 function disable_var_01 {