diff -r 326a0a6453a3 -r c92ac5a56f69 contrib/buildrpm --- a/contrib/buildrpm Fri Nov 06 09:30:18 2009 +0100 +++ b/contrib/buildrpm Fri Nov 06 09:35:38 2009 +0100 @@ -9,8 +9,9 @@ # - Fedora 11 # - Centos 5.3 (with Fedora EPEL repo for asciidoc) -HG="`dirname $0`/../hg" -PYTHONPATH="`dirname $0`/../mercurial/pure" +cd "`dirname $0`/.." +HG="$PWD/hg" +PYTHONPATH="$PWD/mercurial/pure" export PYTHONPATH root="`$HG root 2>/dev/null`"