[Rd] Buig in bin/R script (PR#9375)

From: <gml4410_at_ggr.co.uk>
Date: Tue 21 Nov 2006 - 12:54:12 GMT


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 "${@}"



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Nov 22 15:29:54 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 22 Nov 2006 - 05:30:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.