diff options
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh')
-rw-r--r-- | xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh b/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh index 30123874b..8e252943b 100644 --- a/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh +++ b/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh @@ -1,12 +1,8 @@ -#!/bin/sh
+@echo off
+set variant=%1
-variant=$1
+set OUTFILE=base.ml%variant%v%variant%_s.part
-INDIR=$2
-OUTFILE=base.ml${variant}v${variant}_s.part
+if exist %OUTFILE% del %OUTFILE%
-> $OUTFILE
-
-awk '{
- printf " * %s %s = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
-}' < $INDIR/variantsMapping.lst >> $OUTFILE
+gawk "{ printf """ * %%s %%s = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < variantsMapping.lst >> %OUTFILE%
|