Coder Social home page Coder Social logo

Comments (5)

jsimmonds2 avatar jsimmonds2 commented on July 28, 2024

Ooops, sorry, my environment is Fedora Linux 64bit version 32 Workstation

Linux f32v-on-comet 5.8.10-200.fc32.x86_64 #1 SMP Thu Sep 17 16:48:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
make --version
GNU Make 4.2.1
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

Wonder why Makefile doesn't create a useable CommitSHA.h on this platform !? ( but works on CircleCI ! )

from farmbot-arduino-firmware.

jsimmonds2 avatar jsimmonds2 commented on July 28, 2024

Found it. I'll send a PR for Makefile.

PR157

from farmbot-arduino-firmware.

gabrielburnworth avatar gabrielburnworth commented on July 28, 2024

Thanks for identifying and fixing the issue in your environment! As you mentioned, the previous code has been working on CI (and our systems) because it was using the builtin echo, which didn't need the -e option. Also, as you may have noticed on CI, adding the -e option didn't work with the builtin so I changed it to /bin/echo to avoid environment confusion.

from farmbot-arduino-firmware.

jsimmonds2 avatar jsimmonds2 commented on July 28, 2024

@gabrielburnworth thanks so much for sorting out a better solution ❤️

[ For my own learning, . . Which Linux and which Shell are used in CircleCI ? ]

F.y.i. While researching my solution I discovered that "best-practice" Makefiles define a SHELL near the beginning 🙂

from farmbot-arduino-firmware.

gabrielburnworth avatar gabrielburnworth commented on July 28, 2024

CircleCI uses Ubuntu.

Thanks for the tip. (Reference docs: choosing the shell, conventions)

I've added:

SHELL = /bin/sh

from farmbot-arduino-firmware.

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.