Hi,
I noticed that the buildit shell script for libcxx uses == instead of = to test for string equality using test ( [ ). This does not work on Linux. The attached patch fixes the issue.
Best,
Jonas
0001-Fix-calls-in-buildit-script.patch (1.22 KB)
This is a nice one and pretty widespread in shell scripts I've seen.
FYI you can probably find more by running checkbashisms on all existing
scripts.
Good idea, I've done that, and attached the resulting patches for
clang-related projects.
Cheers,
Jonas
0001-Fix-bashisms-clang.patch (3.05 KB)
0001-Fix-bashisms-compiler-rt.patch (596 Bytes)