diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-02-27 19:42:48 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-02-27 19:42:48 -0500 |
commit | d0410bddcd7ea43c51b6bf2442a99e58710e70eb (patch) | |
tree | a18aa18266537126d05409b7bd1d37c5cbe268fb /build.sh | |
parent | f20410406d863eea35894d00cd3ca5228d403743 (diff) |
four duplicate layer types!
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -108,11 +108,10 @@ clang src/main.cpp -MJ bin/main.json $WARNING_FLAGS $OPTIMIZATION $ADDITIONAL_FL -I . \ -lm $(pkg-config --cflags --libs $FFMPEG_LIBS) -if [[ "$DEBUG" == 1 ]]; then - pidof gf2 && echo "c ec compiled" > /tmp/control_pipe.dat +if [[ "$DEBUG" == 1 && "$(pidof gf2)" ]]; then + echo "c ec compiled" > /tmp/control_pipe.dat fi - # sed -e '1s/^/[\n/' -e '$s/,$/\n]/' bin/*.json > compile_commands.json if [[ "$OSTYPE" =~ ^darwin ]]; then |