Skip to content
Permalink
Browse files

updated version; minor fixes

- signed-off-by: trimstray <trimstray@gmail.com>
  • Loading branch information...
trimstray committed Mar 5, 2019
1 parent 038912d commit 405eb9ac0142282d505b9261d695e3e766c66be9
Showing with 13 additions and 14 deletions.
  1. +1 −1 README.md
  2. +2 −1 bin/htrace.sh
  3. +8 −8 dependencies.sh
  4. +1 −3 setup.sh
  5. +1 −1 static/man8/htrace.sh.8
@@ -78,7 +78,7 @@ docker run --rm -it --name htrace.sh htrace.sh -u http://nmap.org -s -h
Provides the following options:

```bash
htrace.sh v1.1.1
htrace.sh v1.1.2
Usage:
htrace.sh <option|long-option>
@@ -39,6 +39,7 @@
__init_params=()
__script_params=("$@")

# Tasks for specific system version.
if [[ "$OSTYPE" == "darwin"* ]] ; then

[ ! -z "$(brew --prefix)" ] && PATH=$(brew --prefix)/opt/gnu-getopt/bin:$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH
@@ -78,7 +79,7 @@ source "${_src}/helpers"
# shellcheck disable=SC1090
source "${_src}/__init__"

readonly _version="v1.1.1"
readonly _version="v1.1.2"


# We pass arguments to the __main__ function.
@@ -1,13 +1,5 @@
#!/usr/bin/env bash

# We check if we are a root user.
if [[ "$EUID" -ne 0 ]] ; then

printf "EUID is not equal 0 (no root user)\\n"
exit 1

fi

function _bye() {

printf ' %s\n \e[1;1;31m%s\e[m\n\n' \
@@ -34,6 +26,14 @@ function _tread() {

}

# We check if we are a root user.
if [[ "$EUID" -ne 0 ]] ; then

printf "EUID is not equal 0 (no root user)\\n"
exit 1

fi

# Machine type.
if [[ "$OSTYPE" == "darwin"* ]] ; then

@@ -1,8 +1,6 @@
#!/usr/bin/env bash

# shellcheck disable=SC2034
_arg="$1"

# Tasks for specific system version.
if [[ "$OSTYPE" == "darwin"* ]] ; then

[ ! -z "$(brew --prefix)" ] && PATH=$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH
@@ -1,6 +1,6 @@
.\" Manpage for htrace.sh.
.\" Contact trimstray@gmail.com.
.TH man 8 "12.07.2018" "1.1.1" "htrace.sh man page"
.TH man 8 "12.07.2018" "1.1.2" "htrace.sh man page"
.SH NAME
htrace.sh \- shell script for http/https troubleshooting and profiling.
.SH SYNOPSIS

0 comments on commit 405eb9a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.