Undo Debug

This commit is contained in:
Timo Schmidt 2023-05-03 19:26:18 +02:00
parent 618920e550
commit 3407c31e5b
1 changed files with 0 additions and 2 deletions

View File

@ -3,10 +3,8 @@
tmp_out="$(mktemp)" tmp_out="$(mktemp)"
if [ -f "${0%_test.c}.c" ]; then if [ -f "${0%_test.c}.c" ]; then
echo "THIS"
SRC="${0%_test.c}.c" SRC="${0%_test.c}.c"
else else
echo "THAT"
SRC="$($(type -P basename) -- "${0%_test.c}.c")" SRC="$($(type -P basename) -- "${0%_test.c}.c")"
fi fi
grep -A9999 -- "[S]TART_OF_C_FILE" "${0}" | cc -Wall -Wextra -Werror -o "${tmp_out}" -xc "${SRC}" - grep -A9999 -- "[S]TART_OF_C_FILE" "${0}" | cc -Wall -Wextra -Werror -o "${tmp_out}" -xc "${SRC}" -