OpenVPN / easy-rsa

easy-rsa - Simple shell based CA utility
Other
4k stars 1.19k forks source link

New function easyrsa_mkdir_p(): Replace use of 'mkdir -p' #1101

Closed TinCanTech closed 5 months ago

TinCanTech commented 5 months ago

Windows 11 does not allow 'mkdir -p' to function correctly, it always fails to create directories and never returns an error.

easyrsa_mkdir_p() replaces 'mkdir -p' by creating individual directories for the parent and then for the child, without using 'mkdir -p' switch.