From: Christian Heller Date: Sun, 11 Sep 2016 08:03:21 +0000 (+0200) Subject: Fix post-update zettel git hook. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=a65e21dca92512cbde02607f9fb9a42c51630484;p=config Fix post-update zettel git hook. --- diff --git a/systemfiles/post-update b/systemfiles/post-update index c1aa4d2..3bea5b2 100755 --- a/systemfiles/post-update +++ b/systemfiles/post-update @@ -1,5 +1,5 @@ #!/bin/sh -LIFELOGDIR=/home/plom/lifelog -GIT_WORK_TREE=$LIFELOGDIR git checkout -f -cd $LIFELOGDIR +ZETTELDIR=/home/plom/zettel +GIT_WORK_TREE=$ZETTELDIR git checkout -f +cd $ZETTELDIR redo