diff options
author | marha <marha@users.sourceforge.net> | 2009-09-20 20:25:03 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-09-20 20:25:03 +0000 |
commit | 6341b97eda007223acfe2f7a64dc2c5718867e0a (patch) | |
tree | 1793a3e7cda31b9455df3106b60cc01a096b43f7 /xorg-server/xkbdata.src/rules/bin/ln_s.sh | |
parent | 650fd857a97752ff5ff8b1654ec78b813b78d9c2 (diff) | |
parent | f3d88db0960f1c23e55f2529764b096ac92d78d9 (diff) | |
download | vcxsrv-6341b97eda007223acfe2f7a64dc2c5718867e0a.tar.gz vcxsrv-6341b97eda007223acfe2f7a64dc2c5718867e0a.tar.bz2 vcxsrv-6341b97eda007223acfe2f7a64dc2c5718867e0a.zip |
svn merge https://vcxsrv.svn.sourceforge.net/svnroot/vcxsrv/branches/released .
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin/ln_s.sh')
-rw-r--r-- | xorg-server/xkbdata.src/rules/bin/ln_s.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/rules/bin/ln_s.sh b/xorg-server/xkbdata.src/rules/bin/ln_s.sh new file mode 100644 index 000000000..78e557d8f --- /dev/null +++ b/xorg-server/xkbdata.src/rules/bin/ln_s.sh @@ -0,0 +1,10 @@ +@echo off +set variant=%1 + +set OUTFILE=base.l%variant%_s.part + +if exist %OUTFILE% del %OUTFILE% + +gawk "{ 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% |