Dne Pá 14. října 2011 12:08:13 Ladislav Slezak napsal(a):
Dne 14.10.2011 11:25, jsuchome@svn2.opensuse.org napsal(a):
- SCR::Execute (.target.bash, sformat ("cp %1 %2/", file_path, tmpdir)); + SCR::Execute (.target.bash, sformat ("cp -- %1 %2/", file_path, tmpdir));
You could also change %1 to '%1' + add String::Quote() when changing all these commands...
Yes, I thought about it for first, but then I realized that some other commands to which I pass the file path containing quote cannot handle it anyway, so it would be futile. j -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: jsuchome@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org