diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2007-10-04 14:31:53 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2007-10-04 14:31:53 +0000 |
commit | 5b2f6e9d166c940008ac206495157d2033ace4b1 (patch) | |
tree | aa70a685556295b22dfb839c42ef5ef421cb1710 /postprocess | |
parent | 84e344ea78dd473112e99d06395d6cf0db63e875 (diff) |
#i10000# Windows does not know about links.
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/checkdeliver/checkdeliver.pl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/postprocess/checkdeliver/checkdeliver.pl b/postprocess/checkdeliver/checkdeliver.pl index 799cc4a9f392..6585a9530399 100644 --- a/postprocess/checkdeliver/checkdeliver.pl +++ b/postprocess/checkdeliver/checkdeliver.pl @@ -7,9 +7,9 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # $RCSfile: checkdeliver.pl,v $ # -# $Revision: 1.11 $ +# $Revision: 1.12 $ # -# last change: $Author: kz $ $Date: 2007-10-02 15:19:26 $ +# last change: $Author: rt $ $Date: 2007-10-04 15:31:53 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -213,7 +213,11 @@ sub check my $orgfile_stats = stat($ofile); next if ( -d _ ); # compare files, not directories my $delivered_stats = lstat($sfile); - next if ( -l _ ); # compare files, not links + if ( $^O !~ /^MSWin/ ) { + # windows does not know about links. + # Therefore lstat() is not a lstat, and the following check would break + next if ( -l _ ); # compare files, not links + } if ( $orgfile_stats && $delivered_stats ) { # Stripping (on unix like platforms) and signing (for windows) |