Skip to content

Commit

Permalink
FIX Build Fails - change to TERM=linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Krog committed Jan 19, 2025
1 parent 252b9cd commit b3c20ae
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 52 deletions.
3 changes: 1 addition & 2 deletions dev-tools/generate-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

set -e
set -o pipefail
#export TERM=xterm
export TERM=linux

# ------------------------
Expand All @@ -57,7 +56,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
#defaultcolor=$(tput setaf 7)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
5 changes: 3 additions & 2 deletions dev-tools/generate-google-disavow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ export TERM=xterm
# SOFTWARE.
# ------------------------------------------------------------------------------

export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +56,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# Variables
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/generate-robots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@

set -e
set -o pipefail
export TERM=xterm
export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -59,7 +58,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# --------------
# File Variables
Expand Down
1 change: 0 additions & 1 deletion dev-tools/install-nginx-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

set -e
set -o pipefail
#export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/install-nginx-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/install-nginx-3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
5 changes: 3 additions & 2 deletions dev-tools/modify-config-readme-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ export TERM=xterm
# SOFTWARE.
# ------------------------------------------------------------------------------

export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +56,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# Variables
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/modify-files-and-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

set -e
set -o pipefail
export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -48,7 +48,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -57,7 +56,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# Variables
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/prepare-robots-input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@
# SOFTWARE.
# ------------------------------------------------------------------------------

export TERM=xterm
export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ------------------------------
# Specify Input and Output Files
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/test-blocker-badwords.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
9 changes: 7 additions & 2 deletions dev-tools/test-blocker-false-positives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# SOFTWARE.
# ------------------------------------------------------------------------------

export TERM=xterm
export TERM=linux

# -------------------------------------------
# For Testing REGEX and False Positives Cases
Expand All @@ -51,6 +51,11 @@ export TERM=xterm
# Set Terminal Font Colors
# ------------------------

export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------
bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -59,7 +64,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# -----------------------------
# USER-AGENT ARRAY - MUST MATCH
Expand Down
5 changes: 3 additions & 2 deletions dev-tools/test-blocker-quick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ export TERM=xterm
# SOFTWARE.
# ------------------------------------------------------------------------------

export TERM=linux

# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +56,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/test-blocker-rate-limiting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/test-blocker-whitelist-domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
7 changes: 3 additions & 4 deletions dev-tools/test-blocker-whitelist-ips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,8 +54,8 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
#thisip=$(dig +short myip.opendns.com @resolver1.opendns.com)
defaultcolor=$(tput setaf 7)

thisip=$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')

# ---------
Expand Down
5 changes: 2 additions & 3 deletions dev-tools/test-blocker-whitelist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #
##############################################################################

export TERM=xterm
export TERM=linux

# ------------------------------------------------------------------------------
# MIT License
Expand Down Expand Up @@ -46,7 +46,6 @@ export TERM=xterm
# ------------------------
# Set Terminal Font Colors
# ------------------------

bold=$(tput bold)
red=$(tput setaf 1)
green=$(tput setaf 2)
Expand All @@ -55,7 +54,7 @@ blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
white=$(tput setaf 7)
defaultcolor=$(tput setaf default)
defaultcolor=$(tput setaf 7)

# ---------
# FUNCTIONS
Expand Down
Loading

0 comments on commit b3c20ae

Please sign in to comment.