RFR: 8345524: CHECK_FOR_FILES should properly handle directories

Erik Joelsson erikj at openjdk.org
Wed Dec 4 20:46:40 UTC 2024


On Wed, 4 Dec 2024 20:20:38 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> In CHECK_FOR_FILES, an `ls` command tries to verify if the given list of files is present. If one of the files is a directory name, this fails. To be able to check for a directory as well, we need to do `ls -d`. 
> 
> Also updated raw `ls` to use `$LS`.

Marked as reviewed by erikj (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/22559#pullrequestreview-2479860544


More information about the build-dev mailing list