Skip to content

Commit b4311c1

Browse files
committed
check-for-missing-dlls: handle system DLLs correctly
We want to make sure that `.dll` files found in C:\Windows\system32 are considered present. However, due to a bug, we did that only when looking at the `/cmd/` directory. Let's fix this. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0caf0f3 commit b4311c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check-for-missing-dlls.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ do
4242
printf "dir: $dir$next_line\\r" >&2
4343

4444
case "$dir" in
45-
usr/*) dlls="$dlls$LF$usr_bin_dlls$LF";;
46-
mingw$BITNESS/*) dlls="$dlls$LF$mingw_bin_dlls$LF";;
45+
usr/*) dlls="$sys_dlls$LF$usr_bin_dlls$LF";;
46+
mingw$BITNESS/*) dlls="$sys_dlls$LF$mingw_bin_dlls$LF";;
4747
*) dlls="$sys_dlls$LF";;
4848
esac
4949

0 commit comments

Comments
 (0)