]> git.sur5r.net Git - kconfig-frontends/commitdiff
utils/tweak: make it case-sensitive
authorYann E. MORIN" <yann.morin.1998@free.fr>
Sun, 3 Jun 2012 19:18:04 +0000 (21:18 +0200)
committerYann E. MORIN" <yann.morin.1998@free.fr>
Sun, 3 Jun 2012 19:18:04 +0000 (21:18 +0200)
Although the Linux kernel does not care about case-sensitivity,
we do, because it is entirely valid to use mixed-case in .in files.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
utils/tweak
utils/tweak.patch [new file with mode: 0644]

index ed6653ef9702aa5320756537bb942e8a35123cb4..80d29a172ee605e51af289603419ad63244710ba 100755 (executable)
@@ -44,7 +44,6 @@ checkarg() {
                ARG="${ARG/CONFIG_/}"
                ;;
        esac
-       ARG="`echo $ARG | tr a-z A-Z`"
 }
 
 set_var() {
diff --git a/utils/tweak.patch b/utils/tweak.patch
new file mode 100644 (file)
index 0000000..6e29190
--- /dev/null
@@ -0,0 +1,11 @@
+diff --git a/utils/tweak b/utils/tweak
+--- a/utils/tweak
++++ b/utils/tweak
+@@ -44,7 +44,6 @@
+               ARG="${ARG/CONFIG_/}"
+               ;;
+       esac
+-      ARG="`echo $ARG | tr a-z A-Z`"
+ }
+ set_var() {