[Vm-dev] Linux Travis VM builds not uploading

Gabriel Cotelli g.cotelli at gmail.com
Tue Mar 13 15:59:59 UTC 2018


I think is better to use #!/usr/bin/env bash

https://en.wikipedia.org/wiki/Env

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/
>> deploy/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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180313/f502836c/attachment.html>


More information about the Vm-dev mailing list