Open jaisw7 opened 8 months ago
1 | (rule 2 | (targets cflags.sexp) 3 | (deps 4 | (:first_dep cflags.sh)) 5 | (action 6 | (bash "./%{first_dep} > %{targets}"))) ./cflags.sh: 2: set: Illegal option -o pipefail
#!/bin/sh set -e -o pipefail
set -e -o pipefail is a bash construct
set -e -o pipefail
#!/bin/bash
In Ubuntu, this was the work around I used: sudo dpkg-reconfigure dash
sudo dpkg-reconfigure dash
And then selecting No.
No
Error
Source
Cause:
set -e -o pipefail
is a bash constructFix: