* speclib: Use rm -f to remove temp file just to quiet any potential warnings.
This commit is contained in:
parent
be6d8567eb
commit
3c07fbebf8
@ -1,3 +1,8 @@
|
||||
2002-01-23 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* speclib: Use rm -f to remove temp file just to quiet any potential
|
||||
warnings.
|
||||
|
||||
2002-01-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* security.cc (create_token): Use sec_user() to create
|
||||
|
@ -17,7 +17,7 @@ nm=$1; shift
|
||||
dlltool=$1; shift
|
||||
as=$1; shift
|
||||
def=$1; shift
|
||||
trap "rm /tmp/$$.def" 0 1 2 15
|
||||
trap "rm -f /tmp/$$.def" 0 1 2 15
|
||||
(echo "LIBRARY cygwin1.dll
|
||||
EXPORTS"; $nm --extern-only --defined-only $* | sed -e '/^[ ]*$/d' -e '/:$/d' -e 's/^.* _\(.*\)/\1/' | grep $v -f - -w $def |egrep -vi '^library|exports|^$' | sort) > /tmp/$$.def
|
||||
exec $dlltool --as=$as -d /tmp/$$.def -l "$lib"
|
||||
|
Loading…
Reference in New Issue
Block a user