Skip to content

Commit

Permalink
make-binaries: Include CAPTCHA script with release
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed May 28, 2022
1 parent b4c7833 commit fbf43f2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/make-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,15 @@ add_systemd_unit()
}
#.

#' Add CAPTCHA script(s).
add_captcha_script()
{
local code_dir="$1"

cp -p 'tools/captcha'*'.sh' "$code_dir/lib"
}
#.

#' Use our VT100 to avoid depending on Terminfo, adjust options/paths.
edit_ejabberdctl()
{
Expand Down Expand Up @@ -775,6 +784,7 @@ build_rel()
tar -C "$target_dst_dir" -xzf "$rel_dir/$rel_tar"
create_data_dir "$target_dst_dir" "$target_data_dir"
add_systemd_unit "$target_dst_dir"
add_captcha_script "$target_dst_dir"
edit_ejabberdctl "$target_dst_dir"
remove_unused_files "$target_dst_dir"
strip_files "$target_dst_dir" "$STRIP"
Expand Down

0 comments on commit fbf43f2

Please sign in to comment.