FS#91 - Transcoding scripts fail when path contains a space character

Walt Ogburn <[email protected]> Tue, 03 Jan 2012 14:11:44 -0500
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <3028765.gJgKC79XTX@jagaroth>
Dear gtkpod devels,
 
Thanks for your work on this useful application.
 
I have run into a problem when there are space characters in part of the
path for transcoding files.  The file names themselves are fine, but the
redirect >> to $LOG breaks.  This should be fixed by simply adding double
quotes around $LOG.
 
My bug report on filespray is here:
http://www.gtkpod.org/bugs/index.php?do=details&task_id=91

Includes a proposed patch as a diff against the current git:
http://www.gtkpod.org/bugs/index.php?getfile=13
 
Thanks,
- Walt Ogburn

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev