r7736 - packages/trunk/game-data-packager/supported
Jon Dowland
jmtd-guest at alioth.debian.org
Wed Jul 16 14:02:23 UTC 2008
Author: jmtd-guest
Date: 2008-07-16 14:02:23 +0000 (Wed, 16 Jul 2008)
New Revision: 7736
Modified:
packages/trunk/game-data-packager/supported/doom
packages/trunk/game-data-packager/supported/doom2
Log:
unravel checksum call and fix file check
Modified: packages/trunk/game-data-packager/supported/doom
===================================================================
--- packages/trunk/game-data-packager/supported/doom 2008-07-16 14:02:04 UTC (rev 7735)
+++ packages/trunk/game-data-packager/supported/doom 2008-07-16 14:02:23 UTC (rev 7736)
@@ -21,7 +21,6 @@
checksum() {
CHECKSUM=`md5sum "$1" | cut -d' ' -f1`
debug "checksum = $CHECKSUM"
- echo $CHECKSUM
}
check_for_v19() {
@@ -52,8 +51,8 @@
go() {
verify_args "$@"
WADFILE=`unravel "$1"`
- [ ! -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
- MD5SUM=`checksum "$WADFILE"`
+ [ -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
+ 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 14:02:04 UTC (rev 7735)
+++ packages/trunk/game-data-packager/supported/doom2 2008-07-16 14:02:23 UTC (rev 7736)
@@ -21,7 +21,6 @@
checksum() {
CHECKSUM=`md5sum "$1" | cut -d' ' -f1`
debug "checksum = $CHECKSUM"
- echo $CHECKSUM
}
check_for_v19() {
@@ -49,8 +48,8 @@
go() {
verify_args "$@"
WADFILE=`unravel "$1"`
- [ ! -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
- MD5SUM=`checksum "$WADFILE"`
+ [ -f "$WADFILE" ] || die "ERROR: '$WADFILE' does not exist."
+ checksum "$WADFILE"
debug "WADFILE=$WADFILE"
check_for_v19
More information about the Pkg-games-commits
mailing list