Check the BinDeps package for unpack_cmd

On Monday, February 1, 2016 at 4:34:13 AM UTC-8, Aslak Grinsted wrote:
>
>
> I have a problem that i do not have tar on my windows machine, and for 
> that reason Pkg.build("GR") fails. I tried fixing it using 7zip as that was 
> present in my julia bin folder by replacing 
>
> run(`tar xzf downloads/$tarball`)
>
> with 
>
> run(pipeline(`7z x -so downloads/$tarball`,`7z x -aoa -si -ttar -o"."`))
>
> --- That worked fine on my windows machine, but fails on travis: 
> https://travis-ci.org/jheinen/GR.jl/jobs/106192456
>
> Any tips are welcome. 
>
>
>
>
>
>
>
>
> On Tuesday, March 10, 2015 at 9:33:06 PM UTC+1, Stefan Karpinski wrote:
>>
>> I would just shell out to the tar command and then work with the untarred 
>> directory.
>>
>> On Tue, Mar 10, 2015 at 4:05 PM, Weijian Zhang <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I have a .tar.gz file. With GZip.jl, I can write code to unzip it to a 
>>> .tar file.
>>> But how can I unpack this .tar file in Julia?
>>>
>>> Thanks,
>>>
>>> Weijian
>>>
>>>
>>

Reply via email to