diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2022-05-28 15:00:25 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2022-05-28 15:00:25 +0200 |
commit | fbf43f2a310bc011c5d4a4df0b9b786a55a14207 (patch) | |
tree | fcf68f2178f9c12a6694d71f56460e25b78ba428 /tools/make-binaries | |
parent | make-binaries: Edit rebar.config more carefully (diff) |
make-binaries: Include CAPTCHA script with release
Diffstat (limited to 'tools/make-binaries')
-rwxr-xr-x | tools/make-binaries | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/make-binaries b/tools/make-binaries index 51bf34a4..27359c99 100755 --- a/tools/make-binaries +++ b/tools/make-binaries @@ -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() { @@ -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" |