summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-03-02 19:36:18 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-03-02 20:50:01 +0200
commita0e1a5594231d9f3789c51f04fdfb24680ca2516 (patch)
treec632512445bf533999aa8382a47b1292880c2edf
parent63b91e48730d3396e8291dd6151f8164b0e96aac (diff)
downloadluaotfload-a0e1a5594231d9f3789c51f04fdfb24680ca2516.tar.gz
A dump script I use for syncing with context
Takes the base of context texmf tree as argument (the zip downloaded from pragma-ade.com
-rwxr-xr-xsync.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh
new file mode 100755
index 0000000..e4c2857
--- /dev/null
+++ b/sync.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+CTX_TEXFM=$1
+CTX_FILES=`grep -o "loadmodule('....-....lua')" $CTX_TEXFM/tex/generic/context/luatex-fonts.lua |\
+ sed -e "s/loadmodule('\(....-....lua\)')/\1/" | sort | uniq`
+
+echo $CTX_FILES
+for i in $CTX_FILES; do
+ cp -v $CTX_TEXFM/tex/context/base/$i otfl-$i
+done