Add explicit '-print' to 'find' commands.

(partially) from Ian Lance Taylor
This commit is contained in:
Peter Eisentraut 2001-09-10 22:25:48 +00:00
parent a457d33516
commit 8f3627d89b
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ for item in `find "$sourcetree" -type d \( -name CVS -prune -o -print \)`; do
fi
done
for item in `find "$sourcetree" -name Makefile -o -name GNUmakefile`; do
for item in `find "$sourcetree" -name Makefile -print -o -name GNUmakefile -print`; do
subdir=`expr "$item" : "$sourcetree\(.*\)"`
if test ! -f "${item}.in"; then
ln -fs "$item" "$buildtree/$subdir" || exit 1

View File

@ -1,4 +1,4 @@
# $Header: /cvsroot/pgsql/src/backend/po/Attic/Makefile,v 1.1 2001/06/02 18:25:17 petere Exp $
# $Header: /cvsroot/pgsql/src/backend/po/Attic/Makefile,v 1.2 2001/09/10 22:25:48 petere Exp $
subdir = src/backend/po
top_builddir = ../../..
@ -6,7 +6,7 @@ include $(top_builddir)/src/Makefile.global
gettext-files:
find $(srcdir)/.. -name '*.c' >$@
find $(srcdir)/.. -name '*.c' -print >$@
maintainer-clean:
rm -f gettext-files