[tor-commits] [obfsproxy/master] Make tester.py generation work with bsd make

nickm at torproject.org nickm at torproject.org
Tue Feb 14 15:56:50 UTC 2012


commit bb905a73652a7e0447c00079d6a8ce27e1a8dddf
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Feb 14 11:00:03 2012 -0500

    Make tester.py generation work with bsd make
    
    fixes bug 5126
---
 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4d7019d..ed1c0ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,8 +69,8 @@ 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),' < $< > $@
-	chmod +x $@
+	$(SED) -e 's,[@]PYTHON[@],$(PYTHON),' < src/test/tester.py.in > tester.py
+	chmod +x tester.py
 endif
 
 man_MANS = doc/obfsproxy.1



More information about the tor-commits mailing list