From 281e6d372eb155bc1f09844100aceb9505ec384e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 10 Dec 2007 20:32:08 +0100 Subject: render_locally (src): Make the path symlink-free. --- render_locally | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'render_locally') diff --git a/render_locally b/render_locally index ce83cd84..153e7e8a 100755 --- a/render_locally +++ b/render_locally @@ -9,12 +9,8 @@ # Written by Thomas Schwinge -src=$(dirname "$0") && -# Invoking ikiwiki with ``src=.'' will make it render `.git/' as well. -case $src in - .*) src=$(cd "$src" && pwd);; - *) :;; -esac && +# Need a symlink-free path. +src=$(readlink -f "$(dirname "$0")") && dest=$src.rendered && ikiwiki \ -- cgit v1.2.3