[Erp5-report] r43221 luke - /erp5/trunk/buildout/hooks/postfix-hooks.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 9 10:41:53 CET 2011


Author: luke
Date: Wed Feb  9 10:41:53 2011
New Revision: 43221

URL: http://svn.erp5.org?rev=43221&view=rev
Log:
 - add hook to workaround python's tarfile symlink bug

Added:
    erp5/trunk/buildout/hooks/postfix-hooks.py

Added: erp5/trunk/buildout/hooks/postfix-hooks.py
URL: http://svn.erp5.org/erp5/trunk/buildout/hooks/postfix-hooks.py?rev=43221&view=auto
==============================================================================
--- erp5/trunk/buildout/hooks/postfix-hooks.py (added)
+++ erp5/trunk/buildout/hooks/postfix-hooks.py [utf8] Wed Feb  9 10:41:53 2011
@@ -0,0 +1,5 @@
+import os
+def pre_make_hook(options, buildout):
+  # workaround python's tarfile bug with links
+  os.symlink('../LICENSE', os.path.join('conf', 'LICENSE'))
+  os.symlink('../TLS_LICENSE', os.path.join('conf', 'TLS_LICENSE'))



More information about the Erp5-report mailing list