r2525 - people/synrg/xjig

Ben Armstrong synrg at alioth.debian.org
Wed Apr 4 17:21:29 UTC 2007


Author: synrg
Date: 2007-04-04 17:21:28 +0000 (Wed, 04 Apr 2007)
New Revision: 2525

Modified:
   people/synrg/xjig/xjig-menu
   people/synrg/xjig/xjig-menu.6
Log:
Fix switches and man page

Modified: people/synrg/xjig/xjig-menu
===================================================================
--- people/synrg/xjig/xjig-menu	2007-04-04 14:41:06 UTC (rev 2524)
+++ people/synrg/xjig/xjig-menu	2007-04-04 17:21:28 UTC (rev 2525)
@@ -35,7 +35,7 @@
 -p|--pieces XxY          number of pieces to make on the X and Y axes
 -s|--scale XxY           scaled image X and Y axis size (default: 640x480)
 -d|--directory DIR       directory to search for image files
---switches               switches to pass to xjig (default: -no_flip -side 2)
+--switches SWITCHES      switches to pass to xjig (default: -no_flip -side 2)
 
 MAKE-OPTIONS
 --make                   make a link to the specified puzzle in the desktop directory and exit
@@ -264,7 +264,7 @@
 {
    tmperr=`tempfile --prefix=xjigxjig --suffix=.log`
    # FIXME: make everything configurable/overridable (e.g. -no_flip, -side 2)
-   xjig -w $width -h $height -file "${1}" $XJIG_SWITCHES 2>"$tmperr"
+   xjig -w $width -h $height -file "${1}" $switches 2>"$tmperr"
    err=$?
    if [ $err -eq 1 ] ; then
       grep -q 'X connection to .* broken (explicit kill or server shutdown).' $tmperr

Modified: people/synrg/xjig/xjig-menu.6
===================================================================
--- people/synrg/xjig/xjig-menu.6	2007-04-04 14:41:06 UTC (rev 2524)
+++ people/synrg/xjig/xjig-menu.6	2007-04-04 17:21:28 UTC (rev 2525)
@@ -23,7 +23,7 @@
 .PP
 \fB\-d\fR|\-\-directory DIR       directory to search for image files
 .PP
-\fB\-\-switches\fR               switches to pass to xjig (default: \fB\-no_flip\fR \fB\-side\fR 2)
+\fB\-\-switches\fR SWITCHES      switches to pass to xjig (default: \fB\-no_flip\fR \fB\-side\fR 2)
 .SH MAKE\-OPTIONS
 .PP
 \fB\-\-make\fR                   make a link to the specified puzzle in the desktop directory and exit




More information about the Pkg-games-commits mailing list