[Vm-dev] Linux Travis VM builds not uploading

Clément Bera bera.clement at gmail.com
Tue Mar 13 16:06:56 UTC 2018


On Tue, Mar 13, 2018 at 4:59 PM, Gabriel Cotelli <g.cotelli at gmail.com>
wrote:

>
> I think is better to use #!/usr/bin/env bash
>
> https://en.wikipedia.org/wiki/Env
>
>
I heard about that, but all the different bash script use  #!/bin/bash.

I prefer to be consistent, so either we patch them on the whole repository,
or I keep  #!/bin/bash on all.



> On Tue, Mar 13, 2018 at 12:45 PM, Clément Bera <bera.clement at gmail.com>
> wrote:
>
>>
>>
>>
>> On Tue, Mar 13, 2018 at 4:34 PM, Alistair Grant <akgrant0710 at gmail.com>
>> wrote:
>>
>>>
>>> Hi Clément,
>>>
>>> On 13 March 2018 at 16:15, Clément Bera <bera.clement at gmail.com> wrote:
>>> >
>>> > Hi all,
>>> >
>>> > it seems the linux vm builds do not upload the build artifact to the
>>> websites due to this error:
>>> > ./filter-exec.sh: 15: ./filter-exec.sh: [[: not found
>>> > ./filter-exec.sh: 15: ./filter-exec.sh: [[: not found
>>> >
>>> > Based on google, it seems it does execute the file with bash.
>>> >
>>> > I added #!/bin/bash at the beginning of the file like the other bash
>>> files but it does not solve the problem.
>>> >
>>> > Any idea on how to fix this ?
>>> >
>>> > First time I get the win build working before the linux build :-)
>>>
>>> It looks like
>>>
>>> https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/d
>>> eploy/pharo/filter-exec.sh
>>>
>>> doesn't have the #!/bin/bash.
>>>
>>>
>> Right, I added to the filter-exec.sh in deploy but I also need to do it
>> in pharo/deploy.
>>
>> Sorry got confused both files have the same name.
>>
>> Thanks
>>
>> HTH,
>>> Alistair
>>>
>>
>>
>>
>> --
>> Clément Béra
>> Pharo consortium engineer
>> https://clementbera.github.io/
>> https://clementbera.wordpress.com/
>> Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
>>
>>
>
>


-- 
Clément Béra
Pharo consortium engineer
https://clementbera.github.io/
https://clementbera.wordpress.com/
Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180313/de2e5021/attachment.html>


More information about the Vm-dev mailing list