r7734 - packages/trunk/game-data-packager/supported
Jon Dowland
jmtd-guest at alioth.debian.org
Wed Jul 16 13:58:44 UTC 2008
Author: jmtd-guest
Date: 2008-07-16 13:58:43 +0000 (Wed, 16 Jul 2008)
New Revision: 7734
Modified:
packages/trunk/game-data-packager/supported/doom
packages/trunk/game-data-packager/supported/doom2
Log:
use die.
Modified: packages/trunk/game-data-packager/supported/doom
===================================================================
--- packages/trunk/game-data-packager/supported/doom 2008-07-16 13:57:02 UTC (rev 7733)
+++ packages/trunk/game-data-packager/supported/doom 2008-07-16 13:58:43 UTC (rev 7734)
@@ -52,10 +52,7 @@
go() {
verify_args "$@"
WADFILE=`unravel "$1"`
- if [ ! -f "$WADFILE" ]; then
- echo "ERROR: '$WADFILE' does not exist." >&2
- exit
- fi
+ [ ! -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
MD5SUM=`checksum "$WADFILE"`
debug "WADFILE=$WADFILE"
check_for_v19
Modified: packages/trunk/game-data-packager/supported/doom2
===================================================================
--- packages/trunk/game-data-packager/supported/doom2 2008-07-16 13:57:02 UTC (rev 7733)
+++ packages/trunk/game-data-packager/supported/doom2 2008-07-16 13:58:43 UTC (rev 7734)
@@ -49,10 +49,7 @@
go() {
verify_args "$@"
WADFILE=`unravel "$1"`
- if [ ! -f "$WADFILE" ]; then
- echo "ERROR: '$WADFILE' does not exist." >&2
- exit
- fi
+ [ ! -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
MD5SUM=`checksum "$WADFILE"`
debug "WADFILE=$WADFILE"
check_for_v19
More information about the Pkg-games-commits
mailing list