contrib/buildrpm
changeset 9811 c92ac5a56f69
parent 9810 326a0a6453a3
child 9812 dd2c95fc4fe5
--- 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`"