* rmsym: Fix regular expression.
This commit is contained in:
parent
6e0465c6bc
commit
639ebe297b
|
@ -1,3 +1,7 @@
|
|||
2003-03-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* rmsym: Fix regular expression.
|
||||
|
||||
2003-03-09 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* Makefile.in: Change from using new-* to cygwin0 for temporary
|
||||
|
|
|
@ -3,8 +3,8 @@ lib=$1; shift
|
|||
nm=$1; shift
|
||||
ar=$1; shift
|
||||
ranlib=$1; shift
|
||||
grepit=`echo $* | sed 's/ /|__imp__/g'`
|
||||
[ -n "$grepit" ] && grepit="__imp__$grepit"
|
||||
grepit=`echo $* | sed 's/ /\$|__imp__/g'`
|
||||
[ -n "$grepit" ] && grepit="__imp__$grepit\$"
|
||||
objs=`$nm $lib | awk -F: '/^d[0-9]*.o:/ {obj=$1} '"/$grepit/"'{print obj}'`
|
||||
[ -n "$objs" ] || exit 1
|
||||
$ar d $lib $objs
|
||||
|
|
Loading…
Reference in New Issue