incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r1391325 - /incubator/ooo/trunk/main/swext/mediawiki/makefile.mk
Date Fri, 28 Sep 2012 06:20:51 GMT
Author: maho
Date: Fri Sep 28 06:20:50 2012
New Revision: 1391325

URL: http://svn.apache.org/viewvc?rev=1391325&view=rev
Log:
Change the location of "-i" option so that
FreeBSD sed can recognize it.


Modified:
    incubator/ooo/trunk/main/swext/mediawiki/makefile.mk

Modified: incubator/ooo/trunk/main/swext/mediawiki/makefile.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/swext/mediawiki/makefile.mk?rev=1391325&r1=1391324&r2=1391325&view=diff
==============================================================================
--- incubator/ooo/trunk/main/swext/mediawiki/makefile.mk (original)
+++ incubator/ooo/trunk/main/swext/mediawiki/makefile.mk Fri Sep 28 06:20:50 2012
@@ -50,10 +50,10 @@ ALLTAR: $(COMP) ANTBUILD
 
 fix_system_commons:
 	@echo "Fix Java Class-Path entry for Apache Commons libraries from system."
-	@$(SED) -r -e "s#(name=\"Class-Path\" value=\").*\"#\1file://$(COMMONS_CODEC_JAR) file://$(COMMONS_LANG_JAR)
\
-file://$(COMMONS_HTTPCLIENT_JAR) file://$(COMMONS_LOGGING_JAR)\"#" -i build.xml
+	@$(SED) -i.bak -r -e "s#(name=\"Class-Path\" value=\").*\"#\1file://$(COMMONS_CODEC_JAR)
file://$(COMMONS_LANG_JAR) \
+file://$(COMMONS_HTTPCLIENT_JAR) file://$(COMMONS_LOGGING_JAR)\"#" build.xml
 	@echo "Unbundle Apache Commons libraries from Mediawiki Presentation extension."
-	@$(SED) '/file="..commons/d' -i build.xml
+	@$(SED) -i.bak '/file="..commons/d' build.xml
 
 .ELSE
 @all:



Mime
View raw message