From: Erwan Velu Date: Mon, 15 Jul 2013 10:33:44 +0000 (+0200) Subject: genfio: Protecting parse_cmdline from spaces X-Git-Tag: fio-2.1.2~37 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3b73c537d03dd981ab1fa0aaae7892b8ff125114;p=fio.git genfio: Protecting parse_cmdline from spaces If you want to provide arguments with spaces in it, $@ shall be protected with quotes. That's required to manage complex cmdline for -A or -B options --- diff --git a/tools/genfio b/tools/genfio index 512313a7..bbf88337 100755 --- a/tools/genfio +++ b/tools/genfio @@ -310,7 +310,7 @@ done ########## MAIN gen_template -parse_cmdline $@ +parse_cmdline "$@" finish_template check_mode_order