comparison weave.sh @ 7:ce96610fe058

perl script is amazing
author Robert McIntyre <rlm@mit.edu>
date Mon, 24 Oct 2011 09:41:38 -0700
parents 5370428e673e
children 73beed20f7de
comparison
equal deleted inserted replaced
6:5370428e673e 7:ce96610fe058
3 # assumes ./org directory with org files to publish to 3 # assumes ./org directory with org files to publish to
4 # ./html 4 # ./html
5 5
6 target=$(readlink -f $1) 6 target=$(readlink -f $1)
7 7
8 dir=`pwd` 8 org=`dirname $target`
9
10 dir=`dirname $org`
9 11
10 emacsclient \ 12 emacsclient \
11 --eval " 13 --eval "
12 (progn 14 (progn
13 (setq org-publish-project-alist 15 (setq org-publish-project-alist