commit | 3b73c537d03dd981ab1fa0aaae7892b8ff125114 | [log] [tgz] |
---|---|---|
author | Erwan Velu <erwan@enovance.com> | Mon Jul 15 12:33:44 2013 +0200 |
committer | Erwan Velu <erwan@enovance.com> | Sun Jul 21 11:58:49 2013 +0200 |
tree | 8f1dc4c6b068adc519c26c11d58e0ac27b70f5d7 | |
parent | a492473a3e4958780776963b7b69dac8ef3ec4cd [diff] |
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 512313a..bbf8833 100755 --- a/tools/genfio +++ b/tools/genfio
@@ -310,7 +310,7 @@ ########## MAIN gen_template -parse_cmdline $@ +parse_cmdline "$@" finish_template check_mode_order