Update 'make init' to fix absolute pathnames after renaming a buildout directory
Stefan Bund [Mon, 19 Oct 2009 14:00:03 +0000 (16:00 +0200)]
Makefile

index 2480418..11ca204 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,10 +60,9 @@ buildout.cfg:
        $(PASTER) create --no-interactive -t plone3_buildout . zope_password=admin
        touch .buildout.stamp
 
-bootstrap: .bootstrap.stamp
-.bootstrap.stamp:
+bootstrap: 
+       sed -i -e '1s/^#!.*\/python/$(subst /,\/,$(PYTHON))/' $(PYTHON_DIR)/bin/*
        $(PYTHON) bootstrap.py
-       touch .bootstrap.stamp
 
 .gitignore:
        @echo "python/" >.gitignore