[tor-commits] [obfsproxy/master] Makefile.am: Fix sed input

asn at torproject.org asn at torproject.org
Fri Mar 9 09:57:34 UTC 2012


commit 7abe6b72226b4462241d58324d75504c29ce9ba9
Author: Peter Palfrader <peter at palfrader.org>
Date:   Mon Mar 5 21:36:17 2012 +0100

    Makefile.am: Fix sed input
    
    Fix the sed command that broke building the python test in a
    build-tree, since it was specifying a path to the input that
    assumed make was running in the top srcdir (re: #5310).
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4dba0a1..df46e08 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,7 +87,7 @@ noinst_PROGRAMS += tester.py
 tester_py_SOURCES = src/test/tester.py.in
 
 tester.py: src/test/tester.py.in Makefile
-	$(SED) -e 's,[@]PYTHON[@],$(PYTHON),' < src/test/tester.py.in > tester.py
+	$(SED) -e 's,[@]PYTHON[@],$(PYTHON),' < $(top_srcdir)/src/test/tester.py.in > tester.py
 	chmod +x tester.py
 endif
 





More information about the tor-commits mailing list