r7749 - ! dirs' list truncated !
Jon Dowland
jmtd-guest at alioth.debian.org
Wed Jul 16 17:02:20 UTC 2008
Author: jmtd-guest
Date: 2008-07-16 17:02:19 +0000 (Wed, 16 Jul 2008)
New Revision: 7749
Modified:
packages/branches/game-data-packager/consolidate-doom/game-data-packager
Log:
don't remove outfile if it doesn't exist.
Modified: packages/branches/game-data-packager/consolidate-doom/game-data-packager
===================================================================
--- packages/branches/game-data-packager/consolidate-doom/game-data-packager 2008-07-16 16:59:15 UTC (rev 7748)
+++ packages/branches/game-data-packager/consolidate-doom/game-data-packager 2008-07-16 17:02:19 UTC (rev 7749)
@@ -81,7 +81,7 @@
WORKDIR=`mktemp -t -d game-data-packager.XXXXXX`
debug "WORKDIR=$WORKDIR"
cleanup() {
- if [ "$PRESERVE" != "yes" ]; then
+ if [ "$PRESERVE" != "yes" ] && [ -f "$OUTFILE" ]; then
rm "$OUTFILE"
fi
if [ -d "$WORKDIR" ]; then
More information about the Pkg-games-commits
mailing list