From 2a4fa596bc1d3db01c0baeb66a59897819c5f788 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Sat, 26 Aug 2006 06:03:02 +0000 Subject: [PATCH] msys sed doesn't understand "-i". Work around that. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14727 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index 8386ca1238..b6f2f17395 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -546,7 +546,12 @@ function inst_goffice() { patch -p1 < $GOFFICE_PATCH autoconf ./configure --prefix=$_GOFFICE_UDIR - find . -name Makefile.am | xargs sed -i -e '/INTLTOOL_XML_RULE/d' + for f in `find . -name Makefile.am` ; do + if [ `grep -c INTLTOOL_XML_RULE $f` != 0 ] ; then + cp $f $f.bak + cat $f.bak | sed -e '/INTLTOOL_XML_RULE/d' > $f + fi + done [ -f dumpdef.pl ] || cp -p ../libgsf-*/dumpdef.pl . make make install