Skip to content
Snippets Groups Projects
Commit 5e2f9996 authored by Maarten De Braekeleer's avatar Maarten De Braekeleer Committed by Alexandre Julliard
Browse files

cmd: Fix 'if exist' with a directory/ as a parameter.

'if exists' takes a parameter which can be directory, directory/,
directory/. directory\ or directory\. for example, and should equate
to true if the directory exists. The syntax directory\ is explicitly
rejected by FindFirstFile and hence was not working - look for this
specific case, and if found append a '.'.

Follow-up commit of bc9d68bc

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
parent dcf0bf1f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment