diff options
author | Christopher Faylor <me@cgf.cx> | 2010-02-26 22:37:43 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-02-26 22:37:43 +0300 |
commit | b6336c95b4c1d512d4cb139e7b97ec4d1ef843fc (patch) | |
tree | b3b686898c1f40a7c932abfc2c4d5e2b9b850c00 /winsup/cygwin/mkimport | |
parent | a149bfbfcde2aa7f54f6a9485cedce3c9b2bb1aa (diff) |
* mkimport: cd away from temp directory or Windows will have problems removing
the directory.
Diffstat (limited to 'winsup/cygwin/mkimport')
-rwxr-xr-x | winsup/cygwin/mkimport | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/mkimport b/winsup/cygwin/mkimport index abca72964..70c81048f 100755 --- a/winsup/cygwin/mkimport +++ b/winsup/cygwin/mkimport @@ -80,4 +80,5 @@ for my $f (keys %text) { unlink $libdll; system $ar, 'crus', $libdll, glob('*.o'), @ARGV; unlink glob('*.o'); +chdir '/tmp'; # Allow $dir directory removal on Windows exit 1 if $?; |