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
This commit is contained in:
Derek Atkins 2006-08-26 06:03:02 +00:00
parent 564086d1df
commit 2a4fa596bc

View File

@ -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