summaryrefslogtreecommitdiff
path: root/gtkdoc-mkhtml.in
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-06-12 19:58:25 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-06-12 19:58:25 +0000
commit4dffd44fbce60a0d5898e17613f34a08290add5d (patch)
tree7f46b0afddd4bc077ba1a7fd05555043a21998df /gtkdoc-mkhtml.in
parent8d629b7c1457c6ca6dad4364cb003d2ea8523cd9 (diff)
downloadgtk-doc-4dffd44fbce60a0d5898e17613f34a08290add5d.tar.gz
Replace head -1 with -n 1. (Merge change by Elliot Lee from Red Hat
Thu Jun 12 15:55:57 2003 Owen Taylor <otaylor@redhat.com> * gtkdoc-mkhtml.in (declaration): Replace head -1 with -n 1. (Merge change by Elliot Lee from Red Hat package)
Diffstat (limited to 'gtkdoc-mkhtml.in')
-rw-r--r--gtkdoc-mkhtml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in
index 8614d5d..7989f57 100644
--- a/gtkdoc-mkhtml.in
+++ b/gtkdoc-mkhtml.in
@@ -22,7 +22,7 @@ gtkdocdir=@datadir@/gtk-doc/data
declaration=$gtkdocdir/gtk-doc.dcl
-if head -1 $document | grep "<?xml" > /dev/null; then
+if head -n 1 $document | grep "<?xml" > /dev/null; then
is_xml=true
else
is_xml=false