diff options
Diffstat (limited to 'xorg-server/xkeyboard-config/rules/bin/mln_s.sh')
-rwxr-xr-x[-rw-r--r--] | xorg-server/xkeyboard-config/rules/bin/mln_s.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xorg-server/xkeyboard-config/rules/bin/mln_s.sh b/xorg-server/xkeyboard-config/rules/bin/mln_s.sh index 66794a4fc..15e0629be 100644..100755 --- a/xorg-server/xkeyboard-config/rules/bin/mln_s.sh +++ b/xorg-server/xkeyboard-config/rules/bin/mln_s.sh @@ -1,10 +1,10 @@ -@echo off
-set variant=%1
-
-set OUTFILE=base.ml%variant%_s.part
-
-if exist %OUTFILE% del %OUTFILE%
-
-echo "{ if (index($2, """(""") == 0) { printf """ * %%s = +%%s%%%%(v[%variant%]):%variant%\n""", $1, $2; } else { printf """ * %%s = +%%s:%variant%\n""", $1, $2; }}" < layoutsMapping.lst >> %OUTFILE%
-
-gawk "{ printf """ * %%s(%%s) = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < variantsMapping.lst >> %OUTFILE%
+@echo off +set variant=%1 + +set OUTFILE=base.ml%variant%_s.part + +if exist %OUTFILE% del %OUTFILE% + +echo "{ if (index($2, """(""") == 0) { printf """ * %%s = +%%s%%%%(v[%variant%]):%variant%\n""", $1, $2; } else { printf """ * %%s = +%%s:%variant%\n""", $1, $2; }}" < layoutsMapping.lst >> %OUTFILE% + +gawk "{ printf """ * %%s(%%s) = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < variantsMapping.lst >> %OUTFILE% |