gittup / tup

Tup is a file-based build system.
http://gittup.org/tup/
GNU General Public License v2.0
1.17k stars 144 forks source link

Issue #483 - fix getenv call to only specify variable name #489

Closed petemoore closed 8 months ago

petemoore commented 8 months ago

Tup was previously calling getenv("FOO=bar") to retrieve envvar FOO inside tup_db_findenv. This worked on macOS, but not on Linux. Updated to call getenv(varname) instead (e.g. getenv("FOO")). Fixes #483.

petemoore commented 8 months ago

See https://github.com/gittup/tup/issues/483#issuecomment-1909283406 and 6a92109431d7cdd1cca3f288679a39b385365781.