fix non-perl build
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 Sep 2024 21:24:05 +0000 (22:24 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 Sep 2024 21:24:05 +0000 (22:24 +0100)
Broken-by: 9a0f997bac85 + 142fd50739f5
src/scripts/drivers-Makefile

index de3c239a6199d42ca8df012debf97748fef36c4f..4b2bf245b6c87f2498dcffd94ef4b4441f6af21c 100755 (executable)
@@ -105,7 +105,7 @@ want_dynamic() {
 
 want_not_disabled() {
   local want_name="${1#_}"
 
 want_not_disabled() {
   local want_name="${1#_}"
-  [ "$local_want_name" = "$1" ] && return 0;
+  [ "$want_name" = "$1" ] && return 1;
   local re="DISABLED_${want_name}[ $tab]*=[ $tab]*."
   env | ${egrep} -q "^$re"
   [ $? -ne 0 ] && return 0
   local re="DISABLED_${want_name}[ $tab]*=[ $tab]*."
   env | ${egrep} -q "^$re"
   [ $? -ne 0 ] && return 0