From 846007437222d5cdc98ae10efad658a8baf484d3 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 21 Jun 2005 13:47:38 +0000 Subject: - Partial revert: It does not matter if awk works or not but helps if it does :) --- build/genif.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/genif.sh') diff --git a/build/genif.sh b/build/genif.sh index f40ad57a83..61d1f00454 100644 --- a/build/genif.sh +++ b/build/genif.sh @@ -1,6 +1,6 @@ #! /bin/sh -# $Id: genif.sh,v 1.5 2005-06-17 09:39:20 dmitry Exp $ +# $Id: genif.sh,v 1.6 2005-06-21 13:47:38 sniper Exp $ # replacement for genif.pl infile=$1 @@ -17,13 +17,13 @@ if test -z "$infile" || test -z "$srcdir"; then exit 1 fi -module_ptrs=$extra_module_ptrs header_list= olddir=`pwd` cd $srcdir +module_ptrs="$extra_module_ptrs`echo $@ | $awk -f ./build/order_by_dep.awk`" + for ext in ${1+"$@"} ; do - module_ptrs=" phpext_${ext}_ptr,@NEWLINE@$module_ptrs" header_list="$header_list ext/$ext/*.h" done -- cgit v1.2.1