mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-07-04 13:02:49 -05:00
Minor cleanups (#116)
* docker_test.sh: fix shellcheck warnings * docker_test.sh: unify style No changes in functionality. * docker_test.sh: whitespace fixes * stop mixing tabs and spaces * remove trailing whitespace * invoke bash using /usr/bin/env * build_windows_executable.sh: fix variable assignment * update_windows_man_page.sh: unify style No changes in functionality. * whitespace fixes * stop mixing tabs and spaces * remove trailing whitespace * fix spelling * remove trailing whitespace
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# The MIT License (MIT)
|
||||
@ -37,9 +37,9 @@ PLATFORM="$(uname -s)"
|
||||
case "$PLATFORM" in
|
||||
CYGWIN*) ;;
|
||||
*)
|
||||
echo "Platform not supported ($PLATFORM). This must be run in Cygwin only."
|
||||
exit 1
|
||||
;;
|
||||
echo "Platform not supported ($PLATFORM). This must be run in Cygwin only."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ensure that Python 3.x is installed.
|
||||
@ -52,7 +52,7 @@ fi
|
||||
command -v pyinstaller >/dev/null 2>&1 || { echo >&2 "pyinstaller not found. Install with: 'pip install pyinstaller'"; exit 1; }
|
||||
|
||||
# Ensure that the colorama module is installed.
|
||||
X=`pip show colorama` 2> /dev/null
|
||||
X=$(pip show colorama 2>/dev/null)
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "Colorama module not found. Install with: 'pip install colorama'"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user