mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-15 01:11:27 +00:00
0542daacdf
Including catching warnings :) (yay -Werror)
15 lines
145 B
Bash
Executable file
15 lines
145 B
Bash
Executable file
#! /bin/sh
|
|
|
|
script=$1
|
|
shift
|
|
|
|
cat > $script <<EOF
|
|
#! /bin/sh
|
|
# compile must fail
|
|
$@
|
|
if test \$? != 1; then
|
|
exit 1
|
|
fi
|
|
exit 0
|
|
EOF
|
|
chmod +x $script
|