projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a492473
)
genfio: Protecting parse_cmdline from spaces
author
Erwan Velu
<erwan@enovance.com>
Mon, 15 Jul 2013 10:33:44 +0000
(12:33 +0200)
committer
Erwan 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
patch
|
blob
|
blame
|
history
diff --git
a/tools/genfio
b/tools/genfio
index 512313a7ab16cb22d764389df50fd37835f816d7..bbf88337ebbedba7657f09b45e42d66bff70a83c 100755
(executable)
--- a/
tools/genfio
+++ b/
tools/genfio
@@
-310,7
+310,7
@@
done
########## MAIN
gen_template
-parse_cmdline
$@
+parse_cmdline
"$@"
finish_template
check_mode_order