mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
remove non-universal tr -u flag
This commit is contained in:
parent
39963dad60
commit
79407ce361
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ get_docker_configuration_file_args() {
|
|||
if "$HAVE_JQ"; then
|
||||
jq --monochrome-output --raw-output ".[\"${OPTION}\"]" "$CONFIG_FILE"
|
||||
else
|
||||
cat "$CONFIG_FILE" | tr -u { '\n' | tr , '\n' | tr } '\n' | grep "$OPTION" | sed 's/.*://g' | tr -d '" ',
|
||||
cat "$CONFIG_FILE" | tr { '\n' | tr , '\n' | tr } '\n' | grep "$OPTION" | sed 's/.*://g' | tr -d '" ',
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue