mirror of
https://github.com/php/php-src.git
synced 2025-01-19 02:03:47 +08:00
- Partial revert: It does not matter if awk works or not but helps if it does :)
This commit is contained in:
parent
c594f47f76
commit
8460074372
@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /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
|
# replacement for genif.pl
|
||||||
|
|
||||||
infile=$1
|
infile=$1
|
||||||
@ -17,13 +17,13 @@ if test -z "$infile" || test -z "$srcdir"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
module_ptrs=$extra_module_ptrs
|
|
||||||
header_list=
|
header_list=
|
||||||
olddir=`pwd`
|
olddir=`pwd`
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
|
|
||||||
|
module_ptrs="$extra_module_ptrs`echo $@ | $awk -f ./build/order_by_dep.awk`"
|
||||||
|
|
||||||
for ext in ${1+"$@"} ; do
|
for ext in ${1+"$@"} ; do
|
||||||
module_ptrs=" phpext_${ext}_ptr,@NEWLINE@$module_ptrs"
|
|
||||||
header_list="$header_list ext/$ext/*.h"
|
header_list="$header_list ext/$ext/*.h"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user