openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Kovacs <Pe...@Apache.org>
Subject build script perl code strangeness
Date Sun, 25 Feb 2018 15:52:14 GMT
Hi all,


I know perl, but I am not a real expert that knows all possible styles.
The following code looks doubious to me (build.pl line 265).

    provide_consistency() if (defined $ENV{CWS_WORK_STAMP} &&
    defined($ENV{COMMON_ENV_TOOLS}));

I would assume that provide_consistency is always called, and the if 
clause does nothing. What sense has this code?
Or is perl now that smart to read it like a sentence? - Have no hint for 
this. But I rather ask.

Thanks.

All the best
Peter



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message