[SCM] Installer for game data files branch, rott, updated. dcfa52fa9a59258e0b3152c8850168dd8fdcde42

Jon Dowland jmtd at debian.org
Thu Mar 25 14:35:16 UTC 2010


The following commit has been merged in the rott branch:
commit 1f6871568b6fd306fb851d86612e29d8cd0f7dc2
Author: Jon Dowland <jmtd at debian.org>
Date:   Thu Mar 25 12:21:38 2010 +0000

    comment about a potentially dead piece of code

diff --git a/lib/doom-common b/lib/doom-common
index 31d4ab9..889aeb6 100644
--- a/lib/doom-common
+++ b/lib/doom-common
@@ -31,6 +31,10 @@ go() {
 
 	DEST=`echo $WADDIR | sed 's,^/,,'`/$SHORTNAME.wad
 
+	# can OUTDIR ever be ''? there should be a 'is OUTDIR writeable' test that
+	# aborts before this point. Left this in for now in case we introduce a path
+	# that can reach here when we add support for installing an on-the-fly deb and
+	# not saving a copy
 	if [ "" = "$OUTDIR" ]; then
 		OUTFILE="$WORKDIR/$DEBBASE"
 	else
diff --git a/supported/rott b/supported/rott
index 90c8d43..0ab91c2 100644
--- a/supported/rott
+++ b/supported/rott
@@ -61,6 +61,10 @@ go() {
 	fi
 
 	# XXX: this para copied from lib/doom-common. Should be generalised.
+	# can OUTDIR ever be ''? there should be a 'is OUTDIR writeable' test that
+	# aborts before this point. Left this in for now in case we introduce a path
+	# that can reach here when we add support for installing an on-the-fly deb and
+	# not saving a copy
 	if [ "" = "$OUTDIR" ]; then
 		OUTFILE="$WORKDIR/$DEBBASE"
 	else

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list