Mailinglist Archive: yast-devel (78 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r66442 - /trunk/add-on-creator/src/AddOnCreator.ycp
Dne Pá 14. října 2011 12:08:13 Ladislav Slezak napsal(a):
Dne 14.10.2011 11:25, jsuchome@xxxxxxxxxxxxxxxxx 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@xxxxxxx
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@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References