You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/11/03 18:34:15 UTC

svn commit: r1030557 - /subversion/trunk/build/run_ctypesgen.sh

Author: julianfoad
Date: Wed Nov  3 17:34:14 2010
New Revision: 1030557

URL: http://svn.apache.org/viewvc?rev=1030557&view=rev
Log:
* build/run_ctypesgen.sh
  Generate 'functions.py' in the source tree, to
    fix build in which source tree != build tree. Although it would be
    better to put all generated targets in the build tree, the
    rest of ctypes-python doesn't currently find it there.

Patch by: Noorul Islam K M <no...@collab.net>

Modified:
    subversion/trunk/build/run_ctypesgen.sh

Modified: subversion/trunk/build/run_ctypesgen.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_ctypesgen.sh?rev=1030557&r1=1030556&r2=1030557&view=diff
==============================================================================
--- subversion/trunk/build/run_ctypesgen.sh (original)
+++ subversion/trunk/build/run_ctypesgen.sh Wed Nov  3 17:34:14 2010
@@ -86,4 +86,4 @@ $LT_EXECUTE $PYTHON $CTYPESGEN --cpp "$c
 (cat $abs_srcdir/$cp_relpath/csvn/core/functions.py.in; \
  sed -e '/^FILE =/d' $output | \
  perl -pe 's{(\s+\w+)\.restype = POINTER\(svn_error_t\)}{\1.restype = POINTER(svn_error_t)\n\1.errcheck = _svn_errcheck}' \
- ) > $abs_builddir/$cp_relpath/csvn/core/functions.py
+ ) > $abs_srcdir/$cp_relpath/csvn/core/functions.py