Skip to content

Commit

Permalink
FIXED | DOMAIN_FULL | Remove non printing chars
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiMazurBeetroot committed Jun 1, 2022
1 parent d4c536f commit 4fbd80b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions env-core/sh/core/env-core-arguments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ get_project_dir () {

[[ $DOMAIN_FULL == '' ]] && DOMAIN_FULL="$DOMAIN_NAME_DEFAULT"

# Remove non printing chars from DOMAIN_FULL
DOMAIN_FULL=$(echo $DOMAIN_FULL | tr -dc '[[:print:]]' | tr -d ' ' | tr -d '[A' | tr -d '[C' | tr -d '[B' | tr -d '[D')


set_project_vars
}

Expand Down

0 comments on commit 4fbd80b

Please sign in to comment.