aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh')
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
index fc904f392..cae53259c 100644
--- a/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
+++ b/xorg-server/xkeyboard-config/rules/bin/ml1v_s.sh
@@ -1,10 +1,7 @@
-#!/bin/sh
+@echo off
-INDIR=$1
-OUTFILE=base.ml1v_s.part
+set OUTFILE=base.ml1v_s.part
-> $OUTFILE
+if exist %OUTFILE% del %OUTFILE%
-awk '{
- printf " * %s %s = pc+%s(%s)\n", $1, $2, $3, $4;
-}' < $INDIR/variantsMapping.lst >> $OUTFILE
+gawk "{ printf """ * %%s %%s = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < variantsMapping.lst >> %OUTFILE%