Skip to content

Commit

Permalink
inline: Introduce EASYRSA_DISABLE_INLINE
Browse files Browse the repository at this point in the history
Allow inline_file() to be disabled.

Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Oct 23, 2024
1 parent 2edfb4e commit ad257ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -2976,6 +2976,10 @@ See error messages above for details."

# Generate inline file V2
inline_file() {
# Allow complete disable
[ "$EASYRSA_DISABLE_INLINE" ] && return

# definitive source
[ "$1" ] || die "inline_file - Missing file_name_base"

# Source files
Expand Down

0 comments on commit ad257ab

Please sign in to comment.