1
0
mirror of https://github.com/jtesta/ssh-audit.git synced 2025-07-06 05:57:50 -05:00

Added build_windows_executable.sh.

This commit is contained in:
Joe Testa
2021-02-23 19:54:12 -05:00
parent b300ad1252
commit 446a411424
2 changed files with 96 additions and 1 deletions

View File

@ -98,6 +98,9 @@ fi
# Check that the 'sed' (stream editor) binary exists.
command -v sed >/dev/null 2>&1 || { echo >&2 "sed not found."; exit 1; }
# Reset the globals.py file, in case it was modified from a prior run.
git checkout $GLOBALS_PY > /dev/null 2>&1
# Remove the Windows man page placeholder from 'globals.py'.
sed -i '/^WINDOWS_MAN_PAGE/d' "$GLOBALS_PY"
@ -124,4 +127,4 @@ fi
echo '"""' >> "$GLOBALS_PY"
echo "Done."
exit 0
exit 0