Giter VIP home page Giter VIP logo

Comments (7)

kellabyte avatar kellabyte commented on July 24, 2024

Can you try this command from the Haywire directory?

".\bin\win-bash\uname.exe"

If I use the win-bash version directly on Windows it should report the proper value. Then Haywire builds aren't subjected to anything that may be on the path :)

from haywire.

GeorgeHahn avatar GeorgeHahn commented on July 24, 2024

That command gives the expected output, but builds don't work correctly - it detects my platform as *nix. (Uname is returning "windows32")

from haywire.

kellabyte avatar kellabyte commented on July 24, 2024

Did you change the build script to use the uname from win-bash? I'm trying to narrow down if I change the bash script to use that specific uname that it should fix it?

from haywire.

GeorgeHahn avatar GeorgeHahn commented on July 24, 2024

If I make uname use the direct path, won't that break the build on *nix?

from haywire.

kellabyte avatar kellabyte commented on July 24, 2024

If you confirm it works, I'll try to think of some way to avoid that :) I don't have an answer yet though but at least if that works it confirms its reliable. Kind of a chicken and the egg problem though :P

from haywire.

GeorgeHahn avatar GeorgeHahn commented on July 24, 2024

This works:

uname_bin=".\bin\win-bash\uname -s"
OS=`${uname_bin}`

from haywire.

GeorgeHahn avatar GeorgeHahn commented on July 24, 2024

From Jabbr.net #Haywire:

@kellabyte 
oh wait I got it
make build.bat pass the platform name as an argument

from haywire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.