crashappsec / con4m

Configuration Language for Mortals
Apache License 2.0
10 stars 1 forks source link

fix(buildlibs.sh): move env sets to further into file to avoid exiting too early on macOS x64 #111

Closed MyNameIsMeerkat closed 1 year ago

MyNameIsMeerkat commented 1 year ago

Tiny change to just remove the env sets :

set -eEu
set -o pipefail

to avoid exiting too early on macOS x64. We use the failing exit status of uname -o to determine we are on macOS x64 but with those env sets already made we exit and never get to the test of the return value.

A similar situation with the sysctl call was resolve in this change as well