'grep -q' in pango-0.15/pango/Makefile.am
- From: Tony Graham <Tony Graham ireland sun com>
- To: gtk-i18n-list gnome org
- Subject: 'grep -q' in pango-0.15/pango/Makefile.am
- Date: Wed, 9 May 2001 14:48:07 +0100 (BST)
The -q option to grep caused me to have problems compiling Pango 0.15
on Solaris 8. The GNU Project man page for grep states, for the -s
option:
Shell scripts intended to be portable to traditional grep should
avoid both -q and -s and should redirect output to /dev/null
instead.
The following patch removes the -q option and redirects output to
/dev/null.
Regards,
Tony Graham
------------------------------------------------------------------------
Tony Graham mailto:tony graham ireland sun com
Sun Microsystems Ireland Ltd Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3 x(70)19708
*** Makefile.am~ Tue Apr 3 19:56:32 2001
--- Makefile.am Wed May 9 14:33:09 2001
***************
*** 189,195 ****
install-data-local:
($(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango; \
! if ls $(DESTDIR)$(libdir)/pango/modules/*.so | grep -q 'so'; then \
echo "Wrote $(DESTDIR)$(sysconfdir)/pango/pango.modules."; \
$(top_builddir)/pango/pango-querymodules $(DESTDIR)$(libdir)/pango/modules/*.so \
> $(DESTDIR)$(sysconfdir)/pango/pango.modules; \
--- 189,195 ----
install-data-local:
($(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango; \
! if ls $(DESTDIR)$(libdir)/pango/modules/*.so | grep 'so' > /dev/null; then \
echo "Wrote $(DESTDIR)$(sysconfdir)/pango/pango.modules."; \
$(top_builddir)/pango/pango-querymodules $(DESTDIR)$(libdir)/pango/modules/*.so \
> $(DESTDIR)$(sysconfdir)/pango/pango.modules; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]