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 512313a..bbf8833 100755 (executable)
@@ -310,7 +310,7 @@ done
 
 ########## MAIN
 gen_template
-parse_cmdline $@
+parse_cmdline "$@"
 finish_template
 check_mode_order