aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/lnv_s.sh
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-22 17:53:52 +0000
committermarha <marha@users.sourceforge.net>2009-07-22 17:53:52 +0000
commitce6792945179bb9c87def91702fa52c056daa7b0 (patch)
tree8ffab3ec2f50a55d84aa3adbb0386d11fa861a8e /xorg-server/xkbdata.src/rules/compat/lnv_s.sh
parentcde4d617b7e6ee1a16454ca2abf13305446aecc9 (diff)
downloadvcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.tar.gz
vcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.tar.bz2
vcxsrv-ce6792945179bb9c87def91702fa52c056daa7b0.zip
Makefiles added for xkbdata
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/lnv_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/compat/lnv_s.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/xorg-server/xkbdata.src/rules/compat/lnv_s.sh b/xorg-server/xkbdata.src/rules/compat/lnv_s.sh
index ae699f95b..21de20529 100644
--- a/xorg-server/xkbdata.src/rules/compat/lnv_s.sh
+++ b/xorg-server/xkbdata.src/rules/compat/lnv_s.sh
@@ -1,12 +1,8 @@
-#!/bin/sh
+@echo off
+set variant=%1
-variant=$1
+set OUTFILE=base.l%variant%v%variant%_s.part
-INDIR=`dirname $0`
-OUTFILE=base.l${variant}v${variant}_s.part
+del %OUTFILE%
-> $OUTFILE
-
-awk '{
- printf " %s %s = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
-}' < $INDIR/variantRename.lst >> $OUTFILE
+awk "{ printf """ %%s %%s = +%%s(%%s):%variant%\n""", $1, $2, $3, $4; }" variantRename.lst >> %OUTFILE%