genfio: Protecting parse_cmdline from spaces
authorErwan Velu <erwan@enovance.com>
Mon, 15 Jul 2013 10:33:44 +0000 (12:33 +0200)
committerErwan Velu <erwan@enovance.com>
Sun, 21 Jul 2013 09:58:49 +0000 (11:58 +0200)
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

tools/genfio

index 512313a7ab16cb22d764389df50fd37835f816d7..bbf88337ebbedba7657f09b45e42d66bff70a83c 100755 (executable)
@@ -310,7 +310,7 @@ done
 
 ########## MAIN
 gen_template
-parse_cmdline $@
+parse_cmdline "$@"
 finish_template
 check_mode_order