Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6527d5db55bb91f49c6f97455fca26269a7c05e9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Apr 6 13:47:50 2011 -0400
Set the PYTHONPATH in our Makefile init target
diff --git a/Makefile b/Makefile
index ad4923a..f5e0fce 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ pyflakes:
init:
wget -N
https://fedorahosted.org/releases/b/o/bodhi/bodhi-pickledb.tar.bz2
tar -jxvf bodhi-pickledb.tar.bz2
- tg-admin --config=bodhi.cfg sql create && bodhi/tools/init.py &&
bodhi/tools/dev_init.py && bodhi/tools/pickledb.py load bodhi-pickledb-*
+ PYTHONPATH=$(pwd) tg-admin --config=bodhi.cfg sql create && PYTHONPATH=$(pwd)
bodhi/tools/init.py && PYTHONPATH=$(pwd) bodhi/tools/dev_init.py &&
PYTHONPATH=$(pwd) bodhi/tools/pickledb.py load bodhi-pickledb-*
# remove the untared pickledb
rm bodhi-pickledb-*