Installing files with spaces in the middle

Abu Khaled khaled.abu at gmail.com
Mon May 9 17:40:42 PDT 2005


On 5/10/05, Alejandro Pulver <alejandro at varnet.biz> wrote:
> Hello,
> 
> I am making a port that has documentation files with spaces in the
> middle: "ET logo.gif", "ET logos_7B.gif" and "ET logos_7c.gif".
> 
> They are refered by links in other HTML documents, so I can not rename
> them (or I will have to patch/reinplace the HTML files).
> 
> I am using a for loop and 'make' sees them as separate elements:
> 
> .for IMAGES in 3by3.gif ATVIsmall.jpg ET logo.gif ET logos_7B.gif \
>                 ET logos_7c.jpg GM_Color_small.jpg id_logo_small.jpg \
>                 nerve_logo_small.jpg redstripe.jpg \
>                 rtcw_logo_480banner_elite.jpg rtcw_logo_small.jpg \
>                 sd_logo.JPG wolf_bg.gif
>         ${INSTALL_DATA} ${WRKSRC}/Docs/Help/images/${IMAGES} \
>                 ${PREFIX}/${ETDIR}/Docs/Help/images
> .endfor
> 
> Is there a way to install these files (escaping the " ")?
> 
> Thanks and Best Regards
> Ale

hmm, try to add \ for files with spaces in the name. use \(space)
eg. ET\ logo.gif
I hope this helps.

-- 
Kind regards
Abu Khaled


More information about the freebsd-ports mailing list