r7750 - ! dirs' list truncated !
Jon Dowland
jmtd-guest at alioth.debian.org
Wed Jul 16 17:04:01 UTC 2008
Author: jmtd-guest
Date: 2008-07-16 17:04:00 +0000 (Wed, 16 Jul 2008)
New Revision: 7750
Modified:
packages/branches/game-data-packager/consolidate-doom/game-data-packager
Log:
move a shift up to where it makes more sense
Modified: packages/branches/game-data-packager/consolidate-doom/game-data-packager
===================================================================
--- packages/branches/game-data-packager/consolidate-doom/game-data-packager 2008-07-16 17:02:19 UTC (rev 7749)
+++ packages/branches/game-data-packager/consolidate-doom/game-data-packager 2008-07-16 17:04:00 UTC (rev 7750)
@@ -67,6 +67,8 @@
debug "PRESERVE=$PRESERVE"
GAME="$1"
+shift
+
if [ ! -f "$SUPPORTED/$GAME" ]; then
echo "unknown option or game '$GAME'" >&2
supported >&2
@@ -91,7 +93,6 @@
trap cleanup EXIT
# now the game's handler needs to be executed
-shift
go "$@"
if [ "$PRESERVE" = "yes" ]; then
More information about the Pkg-games-commits
mailing list