On Fri, Oct 14, 2011 at 03:35:17PM +0200, Jiri Suchomel wrote:
> Dne Pá 14. října 2011 12:08:13 Ladislav Slezak napsal(a):
> > Dne 14.10.2011 11:25, jsuch...@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.

What programms cannot handle the quotes? The shell parses the
string so this should not confuse any program.

Or wasn't .target.bash used in thoses cases?

ciao Arvin

-- 
Arvin Schnell, <aschn...@suse.de>
Senior Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
-- 
To unsubscribe, e-mail: yast-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: yast-devel+ow...@opensuse.org

Reply via email to