Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
be a bit more verbose
  • Loading branch information
cooljeanius committed Oct 26, 2023
1 parent d64b689 commit 36575fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ jobs:
for cfile in $(find . -name '*.c' -type f); do \
cobjfile="$(echo "${cfile}" | sed "s/\.c/.o/g")"; \
if test ! -e "${cobjfile}"; then \
gcc -c -I. "${cfile}" || stat "${cfile}" || echo "cfile is ${cfile}"; \
echo "One last attempt at compiling ${cfile}..."; \
gcc -c -I. -I.. "${cfile}" || stat "${cfile}" || echo "cfile is ${cfile}"; \
else \
echo "object file ${cobjfile} already exists for ${cfile}."; \
cp -v "${cobjfile}" "$(dirname "${cfile}")" || cp -v "${cobjfile}" .; \
cp -v "${cobjfile}" "$(dirname "${cfile}")" || cp -v "${cobjfile}" . || cp -v "${cobjfile}" ..; \
fi; \
done
Expand Down

0 comments on commit 36575fb

Please sign in to comment.