mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
16 lines
145 B
Text
16 lines
145 B
Text
|
#! /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
|