Disable shellcheck as it suggests a bashism
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -629,6 +629,8 @@ checkDomain()
|
||||
|
||||
escapeDots()
|
||||
{
|
||||
# shellcheck disable=SC2001
|
||||
# SH suggest bashism ${variable//search/replace}
|
||||
escaped=$(sed 's/\./\\./g' <<< "$1" )
|
||||
echo "${escaped}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user