Skip to content
Permalink
Browse files
8257973: UTIL_LOOKUP_PROGS should only find executable files
Reviewed-by: erikj
  • Loading branch information
magicus committed Dec 9, 2020
1 parent 6eff931 commit 6c69eca380368308ac65a45f353c5d4ac47f3f46
Showing 1 changed file with 1 addition and 1 deletion.
@@ -391,7 +391,7 @@ AC_DEFUN([UTIL_LOOKUP_PROGS],
# Try again with .exe
full_path="$elem/$name.exe"
fi
if test -e "$full_path"; then
if test -x "$full_path" && test ! -d "$full_path" ; then
$1="$full_path"
UTIL_FIXUP_EXECUTABLE($1, $3, $4)
result="[$]$1"

1 comment on commit 6c69eca

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 6c69eca Dec 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.