From cee99a67137006d6ea8a1d66cfa3004df2c2fbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 8 Aug 2003 05:38:33 +0000 Subject: [PATCH] when building DATEDVERSION, just ignore operating system tags in manpages git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12523 ec53bebd-3082-4978-b11e-865c3cabbd6b --- fix-export | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fix-export b/fix-export index a27572321..66d8223a2 100755 --- a/fix-export +++ b/fix-export @@ -13,6 +13,12 @@ if test "$DATEDVERSION"; then w q END + + error=WARN + exitcmd=: +else + error=ERROR + exitcmd=exit fi ver=`sed -n 's/AC_INIT([^,]*,\([^,]*\),.*/\1/p' configure.in` @@ -44,9 +50,9 @@ find . -name Makefile.am | while read f; do `grog -Tascii $x` > $y perl -p -e 'exit 1 if (/NetBSD|FreeBSD|OpenBSD|Linux|OSF|Solaris/); exit 0;' $y if [ $? != 0 ] ; then - echo "ERROR: catfile $y contains operating sysstem" + echo "$error: catfile $y contains operating system" head -1 $y - exit 1 + $exitcmd fi done done