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

Frank Warmerdam warmerdam at pobox.com
Mon Jul 16 15:04:09 EDT 2007


Daniel Morissette wrote:
> 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,

You are correct.  In particular $10 actually evaluates as $1 with a "0"
appended to the result so my first solution was no solution at all.  I now
have:

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

as you suggest.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the Foss-gis-suite mailing list