cvs: phpdoc /scripts genfuncsummary.sh
| From: | Jesus M. Castagnetto | Date: | Sat, 24 Aug 2002 03:13:49 +0000 |
| Subject: | cvs: phpdoc /scripts genfuncsummary.sh | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969348266@lists.php.net to get a copy of this message | ||
jmcastagnetto Fri Aug 23 23:13:49 2002 EDT
Modified files:
/phpdoc/scripts genfuncsummary.sh
Log:
Broken prev commit. Fixed here. This is a temporary solution
a better one will be not to use the char classes in the awk code.
Index: phpdoc/scripts/genfuncsummary.sh
diff -u phpdoc/scripts/genfuncsummary.sh:1.7 phpdoc/scripts/genfuncsummary.sh:1.8
--- phpdoc/scripts/genfuncsummary.sh:1.7 Fri Aug 23 23:03:58 2002
+++ phpdoc/scripts/genfuncsummary.sh Fri Aug 23 23:13:49 2002
@@ -16,7 +16,7 @@
# | Authors: Gabor Hoitsy <goba@php.net> |
# +----------------------------------------------------------------------+
#
-# $Id: genfuncsummary.sh,v 1.7 2002/08/24 03:03:58 jmcastagnetto Exp $
+# $Id: genfuncsummary.sh,v 1.8 2002/08/24 03:13:49 jmcastagnetto Exp $
if test -f funcsummary.awk; then
awkscript=funcsummary.awk
@@ -27,15 +27,16 @@
exit
fi
-# try to detect if we are using the broken awk from Solaris
+# try to detect if we are using the old/broken awk and nawk in Solaris
os=
uname -s
has_gawk=which gawk
if [ $os = "SunOS" ]; then
if [ -s $has_gawk ]; then
- awkprog=which nawk
+ awkprog="gawk"
else
- awkprog=which nawk
+ echo "*** Error *** Gnu awk needed in Solaris"
+ exit 1
fi
else
awkprog="awk"