summaryrefslogtreecommitdiff
path: root/dselect/Makefile.in
diff options
context:
space:
mode:
authorAdam Heath <doogie@debian.org>2003-09-13 20:59:03 +0000
committerAdam Heath <doogie@debian.org>2003-09-13 20:59:03 +0000
commitbe700a700f3ffc7781836e5c6d8d408cbf21705e (patch)
tree3e072e127fde1486e7aae947a970b5018f1aaf1a /dselect/Makefile.in
parentbb909bd21dd7db2aff88f0424aa76d0eb761128a (diff)
downloaddpkg-be700a700f3ffc7781836e5c6d8d408cbf21705e.tar.gz
Apply patch to make dpkg work with POSIX 1003.1-2001.
Diffstat (limited to 'dselect/Makefile.in')
-rw-r--r--dselect/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/Makefile.in b/dselect/Makefile.in
index d82f763af..f50b349d8 100644
--- a/dselect/Makefile.in
+++ b/dselect/Makefile.in
@@ -58,7 +58,7 @@ $(srcdir)/helpmsgs.h $(srcdir)/helpmsgs.cc: helpmsgs.src $(srcdir)/mkhelpmsgs.pl
curkeys.h: keyoverride $(srcdir)/mkcurkeys.pl
cursesfile=`echo '#include <curses.h>' | \
- $(CC) -E - | grep 'curses.h' | head -1 | \
+ $(CC) -E - | grep 'curses.h' | head -n 1 | \
$(SED) -e 's/^[^"]*"//; s/".*$$//'`; \
if [ "$$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
perl $(srcdir)/mkcurkeys.pl $< $$cursesfile > $@