aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/bin/ln_s.sh
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-20 15:09:14 +0000
committermarha <marha@users.sourceforge.net>2009-09-20 15:09:14 +0000
commitf3d88db0960f1c23e55f2529764b096ac92d78d9 (patch)
tree7003e36754ba6b994c3fc2f6a44efa9ddbf03084 /xorg-server/xkbdata.src/rules/bin/ln_s.sh
parent4db64b701ca08687df5932321d48f2ef29b99fed (diff)
downloadvcxsrv-f3d88db0960f1c23e55f2529764b096ac92d78d9.tar.gz
vcxsrv-f3d88db0960f1c23e55f2529764b096ac92d78d9.tar.bz2
vcxsrv-f3d88db0960f1c23e55f2529764b096ac92d78d9.zip
Switched to xkeyboard-config-1.6.99
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin/ln_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/bin/ln_s.sh20
1 files changed, 20 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..07ac2f087
--- /dev/null
+++ b/xorg-server/xkbdata.src/rules/bin/ln_s.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+variant=$1
+
+INDIR=$2
+OUTFILE=base.l${variant}_s.part
+
+> $OUTFILE
+
+awk '{
+ if (index($2, "(") == 0) {
+ printf " %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2;
+ } else {
+ printf " %s = +%s:'${variant}'\n", $1, $2;
+ }
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " %s(%s) = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE