[FGS] Some modules don't install with self-installer

Daniel Morissette dmorissette at mapgears.com
Mon Jul 16 14:31:06 EDT 2007


Frank Warmerdam wrote:
> 
> But if there were more than six packages in the installer the rest were
> ignored unless one of the first six depended on them.  I'm committing a
> change to use:
> 
> $FGS_HOME/etc/fgs/install.sh $FGS_HOME $MODULES_SRC $FIRST_MODULE $2 $3 
> $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 
> $23 $24 $25 $26 $27 $28 $29 $30 $31 $32 $33 $34 $35 $36 $37 $38 $39
> 
> But if anyone knows a better syntax for all the rest of the arguments 
> except
> for $1, then I'd be pleased if they did a better fix.
> 

Untested suggestion:

I think you could use 'shift' that would rename $2 -> $1, $3 -> $2, etc...

and then you'd use:

$FGS_HOME/etc/fgs/install.sh $FGS_HOME $MODULES_SRC $FIRST_MODULE $*

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the Foss-gis-suite mailing list