Changeset 22dc70e in tol


Ignore:
Timestamp:
Dec 15, 2015, 1:14:28 PM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
7ad36f9
Parents:
da2804ff
Message:

refs #1860 cambiamos /bin/sh por /bin/bash, confenv no aborta en caso de no encontrar R o RInside

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7121 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/bin/confenv.sh

    rda2804ff r22dc70e  
    1 #!/bin/sh
     1#!/bin/bash
    22# create tolenv.sh
    33#
    … …  
    3737if  command R RHOME >/dev/null 2>/dev/null ; then
    3838  echo "R can be invoked"
     39  R_HOME_DIR=$(R RHOME)
     40  Rcpp_INSTALLED=$(check_installed Rcpp)
     41  Rinside_INSTALLED=$(check_installed RInside)
    3942else
    4043  echo "R cannot be invoked"
    41   exit
    4244fi
    43 
    44 R_HOME_DIR=$(R RHOME)
    45 Rcpp_INSTALLED=$(check_installed Rcpp)
    46 Rinside_INSTALLED=$(check_installed RInside)
    4745
    4846if [ $Rcpp_INSTALLED -eq 1 ] ; then
    … …  
    6765# environment needed for tol processes
    6866#
    69 LD_LIBRARY_PATH=$_LD_PATH:\$LD_LIBRARY_PATH
    70 export LD_LIBRARY_PATH
     67export LD_LIBRARY_PATH=$_LD_PATH:\$LD_LIBRARY_PATH
     68export TCLLIBPATH=$TOL_PREFIX/lib
     69export TOL_LIBRARY=$TOL_PREFIX/bin/stdlib
     70EOF
     71
     72if [ x"$R_HOME_DIR" != x ]; then
     73cat << EOF >> $TOLENV
    7174export R_HOME=$R_HOME_DIR
    7275EOF
    73 
     76fi
  • tol/bin/tolcon.sh

    rda2804ff r22dc70e  
    1 #!/bin/sh
     1#!/bin/bash
    22# Shell wrapper for TOL executable.
    33
Note: See TracChangeset for help on using the changeset viewer.