[tor-commits] [flashproxy/master] remove one last use of `sed -r` and fix replacement snippet to apply to the plain non-Debianised package

infinity0 at torproject.org infinity0 at torproject.org
Thu Feb 13 14:11:33 UTC 2014


commit 14dadf0fe2d4e284decaa478b1a227c51c2a2d24
Author: Ximin Luo <infinity0 at torproject.org>
Date:   Thu Feb 13 14:09:51 2014 +0000

    remove one last use of `sed -r` and fix replacement snippet to apply to the plain non-Debianised package
---
 proxy/modules/nodejs/Makefile |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/proxy/modules/nodejs/Makefile b/proxy/modules/nodejs/Makefile
index a8f7f76..af8f019 100644
--- a/proxy/modules/nodejs/Makefile
+++ b/proxy/modules/nodejs/Makefile
@@ -11,8 +11,7 @@ flashproxy.js: $(topsrcdir)/proxy/flashproxy.js
 	cp -f $< $@
 
 flashproxy.1: main.js flashproxy.js $(topsrcdir)/mkman.sh $(topsrcdir)/mkman.inc Makefile
-	./main.js --help \
-	  | sed -re 's,/\S+/nodejs ./main.js,flashproxy,g' \
+	./main.js --help | sed -e 's,node ./main.js,flashproxy,g' \
 	  | $(topsrcdir)/mkman.sh flashproxy "$(VERSION)" "The flashproxy standalone nodejs proxy" "$(VERSION)" > "$@"
 
 clean:



More information about the tor-commits mailing list