[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7abe6b72226b4462241d58324d75504c29ce9ba9
Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
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
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits