From bownes at gmail.com  Thu Sep 10 21:35:15 2009
From: bownes at gmail.com (bownes at gmail.com)
Date: Thu, 10 Sep 2009 21:35:15 +0200 (CEST)
Subject: [Rd] R_SHELL=/bin/bash causes issues (PR#13949)
Message-ID: <20090910193515.C2DB1282EF4D@mail.pubhealth.ku.dk>

Full_Name: Bob Bownes
Version: 2.9.2
OS: Solaris 10
Submission from: (NULL) (164.55.254.106)


Symptom: Setting R_SHELL=/bin/bash causes make to fail.

Reproduce with:
bash-3.00# export R_SHELL=/bin/csh;./configure --with-readline=no
--with-iconv=no --with-x=no --enable-static=yes 
--prefix=/home/dev/scratch/bbownes/R
bash-3.00# make
Badly placed ()'s
*** Error code 1
The following command caused the error:
if test ! -f "./doc/FAQ" || test -f non-tarball ; then \
  (cd doc/manual && make front-matter html-non-svn) ; \
  touch non-tarball ; \
  (cd .; LC_ALL=C TZ=GMT svn info || echo "Revision: unknown") 2> /dev/null \
    | sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
    | cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
  /bin/csh ./tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
  rm -f SVN-REVISION-tmp ; \
else \
  if test "yes" = no ; then \
    for f in SVN-REVISION; do \
      ./tools/install-sh -c -m 644 ./${f} .; \
    done \
  fi \
fi
make: Fatal error: Command failed for target `svnonly'
bash-3.00# 


Was the intention of R_SHELL to allow you to set a path to your own version of
csh?



[Rd] R_SHELL=/bin/bash causes issues (PR#13949)
bownes at gmail.com