diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-03-02 19:36:18 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-03-02 20:50:01 +0200 |
commit | a0e1a5594231d9f3789c51f04fdfb24680ca2516 (patch) | |
tree | c632512445bf533999aa8382a47b1292880c2edf | |
parent | 63b91e48730d3396e8291dd6151f8164b0e96aac (diff) | |
download | luaotfload-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-x | sync.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |