diff --git a/scripts/check-reallocarray.sh b/scripts/check-reallocarray.sh index d3044ad44..48e00dd5d 100755 --- a/scripts/check-reallocarray.sh +++ b/scripts/check-reallocarray.sh @@ -1,7 +1,7 @@ #!/bin/sh # Usage: check-reallocarray.sh cc_path [cc_args...] -tfile=$(mktemp /tmp/test_reallocarray_XXXXXXXX.c) +tfile=$(mktemp /tmp/test_reallocarray_XXXXXXXX).c ofile=${tfile%.c}.o cat > $tfile <