easy-rsa icon indicating copy to clipboard operation
easy-rsa copied to clipboard

install_files_to_pki(): Find data-files, in correct specific order

Open TinCanTech opened this issue 3 years ago • 0 comments

https://github.com/OpenVPN/easy-rsa/blob/72cfbd2cd026ee2b5c92afa2ef2d65e301c51e8f/easyrsa3/easyrsa#L1165-L1173

Should be:

	# Find and copy data-files, in specific order
	for area in \
		"$PWD" \
		/usr/local/share/easy-rsa \
		/usr/share/easy-rsa \
		/etc/easy-rsa \
		"${0%/*}" \
		# EOL
	do

This allows the working directory to take priority.

TinCanTech avatar Oct 12 '22 23:10 TinCanTech