Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-23 21:46:19 +0300
committerChristopher Faylor <me@cgf.cx>2002-01-23 21:46:19 +0300
commit3c07fbebf8023eb8daffc9f3931b3652d5b7fb54 (patch)
tree0a43bd3ac4d88eabaebafee0da4c406f08bb6fa9 /winsup/cygwin/speclib
parentbe6d8567eb16f5cb74dce878ea00e491e5dfc571 (diff)
* speclib: Use rm -f to remove temp file just to quiet any potential warnings.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-xwinsup/cygwin/speclib2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib
index a5ce7f46b..a868701ae 100755
--- a/winsup/cygwin/speclib
+++ b/winsup/cygwin/speclib
@@ -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"