From gml4410 at ggr.co.uk  Tue Nov 21 13:54:12 2006
From: gml4410 at ggr.co.uk (gml4410 at ggr.co.uk)
Date: Tue, 21 Nov 2006 13:54:12 +0100 (CET)
Subject: [Rd] Buig in bin/R script (PR#9375)
Message-ID: <20061121125412.902CB19B22@slim.kubism.ku.dk>

Full_Name: Gordon Lack
Version: 2.4.0
OS: OSF1 v5.1
Submission from: (NULL) (198.28.92.5)


Changes to the bin/R front-end interlude script at 2.4.0 (cf: 2.2.0) have broken
R on (Dec/Compaq/HP) OSF1.

There are 3 occurrences of "${@}", but this is the incorrect syntax for adding
$@, as on older Bourne shells this will add an empty (but present) parameter. 
The result is that the build fails while attempting to add in the Recommended
libraries because "ARGUMENT '' __ignored__" end up on the gcc command line.

The fix is to edit src/scripts//R.sh.in to use the correct, original Bourne
shell syntax:

 ${1+"$@"}

(ie: if there is a $1, add quoted $@, else do nothing) on the THREE occurrences
of "${@}"



[Rd] Buig in bin/R script (PR#9375)
gml4410 at ggr.co.uk