Skip to content

Copy compile commands when project.mk fails

When this line fails

make -f "$DIR/project.mk" -C "$PROJECT" "$@"

we should not exit the script but clean up properly (eg distcc) and also copy compile commands.

Edited by Rosen Matev