[OpenSRF-GIT] OpenSRF branch master updated. f9648c10fb745f366d0181b96bb60a3a79bb972a

Evergreen Git git at git.evergreen-ils.org
Tue Aug 16 09:29:04 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".

The branch, master has been updated
       via  f9648c10fb745f366d0181b96bb60a3a79bb972a (commit)
      from  ba3ca0546553e756af81c921f7ceb50738e76aa7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f9648c10fb745f366d0181b96bb60a3a79bb972a
Author: Ben Webb <bjwebb67 at googlemail.com>
Date:   Mon Jul 25 21:40:40 2011 +0100

    LP 799718: Pass the DESTDIR variable to setup.py
    
    This allows python modules to be built when creating packages.
    
    Per comment from Dan Scott on the LP bug:
    
    http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266
    says "Multiple successive slashes are considered to be the same as one
    slash." so in theory "--root=$(DESTDIR)/" should be just as safe as
    "--root=$(DESTDIR)///", but why not go the distance and use 3 slashes to
    avoid any possibility of some oddball POSIX implementation that treats 2
    slashes differently for some reason?
    
    Signed-off-by: Ben Webb <bjwebb67 at googlemail.com>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/src/python/Makefile.am b/src/python/Makefile.am
index 577789b..815feeb 100644
--- a/src/python/Makefile.am
+++ b/src/python/Makefile.am
@@ -14,7 +14,7 @@ all-local:
 # ------------------------------------------------------------------------------
 install-data-local:	
 	@echo $@
-	python @srcdir@/setup.py install
+	python @srcdir@/setup.py install --root $(DESTDIR)///
 
 distclean-local:
 	rm -f @builddir@/OpenSRF.egg-info/PKG-INFO

-----------------------------------------------------------------------

Summary of changes:
 src/python/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
OpenSRF


More information about the opensrf-commits mailing list