From 4e11680f13ebd3ccd9019276e51b637bff22aa0e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 14 Nov 2015 19:34:25 -0500 Subject: Publish can now be run from other directories. --- publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/publish.sh b/publish.sh index bb70386..26251b2 100755 --- a/publish.sh +++ b/publish.sh @@ -1,6 +1,7 @@ #!/bin/bash set -x +cd $(dirname $0) (cd input && git pull) INPUTS=$(find input -name '*.org' -exec grep -l "#+PUBLISH" {} \;) -- cgit v1.2.3