summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-11-14 18:53:00 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-11-14 18:53:00 -0500
commite3239ba3c43538a588b8e08e312336ac841918b0 (patch)
tree5a2cf43f2cdcd6c0a3491820177ad23c5c3ffa4a
parent646748359a60dc9a71fa67c21e6ce1d4cacf9dce (diff)
Fix links to .org sites. (Oops :])
-rwxr-xr-xpublish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/publish.sh b/publish.sh
index 674403d..bb70386 100755
--- a/publish.sh
+++ b/publish.sh
@@ -4,7 +4,7 @@ set -x
(cd input && git pull)
INPUTS=$(find input -name '*.org' -exec grep -l "#+PUBLISH" {} \;)
-readonly filter='s/#\+PUBLISH//g; ;s/\[([^\]]*)\.org\]/[$1.html]/g'
+readonly filter='s/#\+PUBLISH//g; ;s/\[file([^\]]*)\.org\]/[$1.html]/g'
mkdir -p www
cp static/*.css www