Doubts when preparing WebToolkit's port file

Reinier Millo Sánchez rmillo at ...210...
Tue Nov 17 06:52:20 CET 2015


Hi Genode Comunity

I have fixed the problem using a preconfigured variable with the source 
folders:

    ...
    SRC_FOLDERS := \
         $(addprefix `pwd`/src/lib/wt/src/, fcgi http isapi web Wt Wt/Auth \
         Wt/Chart Wt/Chart/scripts Wt/Dbo Wt/Dbo/backend Wt/Ext Wt/Http \
         Wt/Json Wt/Mail Wt/Payment Wt/Render Wt/Test)

    rename_files = for folder in $(SRC_FOLDERS); do cd "$$folder";
    rename -f "s/\.C/\.cpp/" *.C; done

    default: $(DOWNLOADS)
         @$(MSG_GENERATE) Fixing source file extensions
         $(VERBOSE)$(call rename_files)
    ...

Best regards

On 11/16/2015 11:56 AM, Reinier Millo Sánchez wrote:
> Hi Jamey
>
> On 11/16/2015 11:48 AM, Jamey Sharp wrote:
>>
>> Hi!
>>
>> On Nov 15, 2015 9:29 PM, "Reinier Millo Sánchez" <rmillo at ...210... 
>> <mailto:rmillo at ...210...>> wrote:
>> >> find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;
>> >
>> > I have tried something like this on the port file:
>> >>
>> >> CMD := `find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;`
>> >>
>> >> default:
>> >>     ${CMD}
>>
>> I'm not sure if this is the (only) issue, but the back-quotes look 
>> fishy to me. Does this fix your issue?
>>
> I have tested the port file without quotes:
>>
>> CMD := find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;
>>
> but get the same results. The .C extension not change.
>
> Best regards
>
> -- 
> Lic. Reinier Millo Sánchez
> Centro de Estudios de Informática
> Universidad Central "Marta Abreu" de Las Villas
> Carretera a Camajuaní Km 5 1/2
> Santa Clara, Villa Clara, Cuba
> CP 54830
>
> "antes de discutir ... respira;
>    antes de hablar ... escucha;
>   antes de escribir ... piensa;
>    antes de herir ... siente;
>   antes de rendirte ... intenta;
>    antes de morir ... vive"
>
>
> ------------------------------------------------------------------------------
> Presto, an open source distributed SQL query engine for big data, initially
> developed by Facebook, enables you to easily query your data on Hadoop in a
> more interactive manner. Teradata is also now providing full enterprise
> support for Presto. Download a free open source copy now.
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
>
>
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main

-- 
Lic. Reinier Millo Sánchez
Centro de Estudios de Informática
Universidad Central "Marta Abreu" de Las Villas
Carretera a Camajuaní Km 5 1/2
Santa Clara, Villa Clara, Cuba
CP 54830

"antes de discutir ... respira;
   antes de hablar ... escucha;
  antes de escribir ... piensa;
   antes de herir ... siente;
  antes de rendirte ... intenta;
   antes de morir ... vive"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20151117/952b6171/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmillo.vcf
Type: text/x-vcard
Size: 517 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20151117/952b6171/attachment.vcf>


More information about the users mailing list