[nginx] svn commit: r4780 - trunk/misc

ru at nginx.com ru at nginx.com
Thu Aug 2 14:58:37 UTC 2012


Author: ru
Date: 2012-08-02 14:58:36 +0000 (Thu, 02 Aug 2012)
New Revision: 4780
URL: http://trac.nginx.org/nginx/changeset/4780/nginx

Log:
Removed the need in Perl to generate ZIP archive of nginx/Windows.


Modified:
   trunk/misc/GNUmakefile

Modified: trunk/misc/GNUmakefile
===================================================================
--- trunk/misc/GNUmakefile	2012-08-02 12:53:07 UTC (rev 4779)
+++ trunk/misc/GNUmakefile	2012-08-02 14:58:36 UTC (rev 4780)
@@ -92,7 +92,7 @@
 	mkdir -p $(TEMP)/$(NGINX)/temp
 
 	svn export -rHEAD conf $(TEMP)/$(NGINX)/conf/
-	perl -pi -e 's/$$/\r/' $(TEMP)/$(NGINX)/conf/*
+	sed -i '' -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/*
 
 	svn export -rHEAD contrib $(TEMP)/$(NGINX)/contrib/
 	svn export -rHEAD docs/html $(TEMP)/$(NGINX)/html/
@@ -111,7 +111,7 @@
 	cp -p $(OBJS)/lib/$(PCRE)/LICENCE				\
 		$(TEMP)/$(NGINX)/docs/PCRE.LICENCE
 
-	perl -ne 'print if /^ \(C\) 1995-20/ .. /^  jloup\@gzip.org/'	\
+	sed -ne '/^ (C) 1995-20/,/^  jloup at gzip\.org/p'			\
 		$(OBJS)/lib/$(ZLIB)/README				\
 		> $(TEMP)/$(NGINX)/docs/zlib.LICENSE
 



More information about the nginx-devel mailing list