From 98525461c875ab0808b7bfa4787d13ee2d413c40 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 11 Feb 2011 18:00:55 +0000 Subject: * mkstatic: Make sure that we are not cd'ed to temporary directory on exit to avoid bogus warnings on directory cleanup. * speclib: Ditto. * mkimport: Ditto. --- winsup/cygwin/speclib | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winsup/cygwin/speclib') diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index 7ac4d1c..7bac7ea 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -76,3 +76,7 @@ $res = system $ar, 'crus', $lib, sort keys %extract; unlink keys %extract; die "$0: ar creation of $lib exited with non-zero status\n" if $res; exit 0; + +END { + chdir '/tmp'; # Allow $dir directory removal on Windows +} -- cgit v1.1