diff mbox series

[1/7,RFC,LRM,Unstable] debian: rename variable nvidia_ignore to suppress

Message ID 20220414212123.3616050-2-vicamo.yang@canonical.com
State New
Headers show
Series Build presigned iwlwifi dkms modules | expand

Commit Message

You-Sheng Yang April 14, 2022, 9:21 p.m. UTC
From: "You-Sheng Yang (vicamo)" <vicamo.yang@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1962515

Signed-off-by: You-Sheng Yang (vicamo) <vicamo.yang@canonical.com>
---
 debian/scripts/gen-rules.lrg | 6 +++---
 debian/scripts/gen-rules.lrm | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/debian/scripts/gen-rules.lrg b/debian/scripts/gen-rules.lrg
index db61327..c739a38 100755
--- a/debian/scripts/gen-rules.lrg
+++ b/debian/scripts/gen-rules.lrg
@@ -46,12 +46,12 @@  EOL
 
 nvidia_desktop=
 nvidia_server=
-nvidia_ignore=
+suppress=
 while read command arg
 do
 	case "$command" in
 	option)		;;
-	suppress)		nvidia_ignore="$nvidia_ignore $arg"; continue ;;
+	suppress)	suppress="$suppress $arg"; continue ;;
 	*)		continue ;;
 	esac
 
@@ -89,7 +89,7 @@  do
 			;;
 		*) continue ;;
 		esac
-		case " $nvidia_ignore " in
+		case " $suppress " in
 		*\ $package\ *)		continue ;;
 		esac
 
diff --git a/debian/scripts/gen-rules.lrm b/debian/scripts/gen-rules.lrm
index 223918f..d4c6593 100755
--- a/debian/scripts/gen-rules.lrm
+++ b/debian/scripts/gen-rules.lrm
@@ -59,12 +59,12 @@  fi
 
 nvidia_desktop=
 nvidia_server=
-nvidia_ignore=
+suppress=
 while read command arg
 do
 	case "$command" in
 	option)		;;
-	suppress)		nvidia_ignore="$nvidia_ignore $arg"; continue ;;
+	suppress)	suppress="$suppress $arg"; continue ;;
 	*)		continue ;;
 	esac
 
@@ -97,7 +97,7 @@  EOL
 			;;
 		*) continue ;;
 		esac
-		case " $nvidia_ignore " in
+		case " $suppress " in
 		*\ $package\ *)		continue ;;
 		esac