In preparation to fixing #99, normalize different methods of quoting to no quoting

Signed-off-by: Andreas Stieger <astieger@suse.com>
This commit is contained in:
Andreas Stieger 2015-11-17 16:04:58 +01:00
parent ef81ec7a47
commit 49f78d715a

View file

@ -69,7 +69,11 @@ get_docker_cumulative_command_line_args() {
|
# get the last interesting option
tr ' ' "\n" |
grep "^${OPTION}"
grep "^${OPTION}" |
# normalize quoting of values
sed \
-e 's/"//g' \
-e "s/'//g"
}
# Extract the effective command line arguments for the docker daemon