[ooo-build-commit] Branch 'ooo-build-3-1-1' - extensions/tweakconfig

Thorsten Behrens thorsten at kemper.freedesktop.org
Thu Sep 3 05:21:17 PDT 2009


 extensions/tweakconfig/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55f47760d23b4984d0c7630dabe52bdecfb37533
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Thu Sep 3 14:18:34 2009 +0200

    Swapped non-posix sed arg for awk
    
    * extensions/tweakconfig/Makefile.am: sed line blew on mac, replaced
      by a posix-conformant awk call now

diff --git a/extensions/tweakconfig/Makefile.am b/extensions/tweakconfig/Makefile.am
index dd9286c..4579d53 100644
--- a/extensions/tweakconfig/Makefile.am
+++ b/extensions/tweakconfig/Makefile.am
@@ -4,7 +4,7 @@ tweakconfig : $(BUILDDIR)/bin/tweakconfig.oxt
 
 $(BUILDDIR)/bin/tweakconfig.oxt: *.xcu *.xml
 	mkdir -p $(BUILDDIR)/bin/tweakconfig && cp -r $(srcdir)/*.xcu $(srcdir)/*.xml META-INF $(BUILDDIR)/bin/tweakconfig/
-	sed -i '/WritePath/ a <value>file://$(top_srcdir)/test</value>' $(BUILDDIR)/bin/tweakconfig/Paths.xcu
+	awk '{print} /WritePath/ {print "<value>file://$(top_srcdir)/test</value>" }' $(srcdir)/Paths.xcu > $(BUILDDIR)/bin/tweakconfig/Paths.xcu
 	cd $(BUILDDIR)/bin/tweakconfig/ && zip -r $@ .
 
 all: tweakconfig


More information about the ooo-build-commit mailing list