mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
fb3ef04d20
git-subtree-dir: contrib/unifdef git-subtree-mainline:3b7ffacdee
git-subtree-split:0da4488583
11 lines
213 B
Bash
11 lines
213 B
Bash
umask 027
|
|
unifdef -DFOO=1 -DFOOB=42 -UBAR -ooutfile.c if1.c
|
|
e=$?
|
|
case ${BUILD_MINGW} in
|
|
(yes) printf '%s\n' '-rw-r-----' 1>&2 ;;
|
|
(*) ls -l outfile.c | cut -d' ' -f1 1>&2 ;;
|
|
esac
|
|
cat outfile.c
|
|
rm outfile.c
|
|
exit $e
|