The R Project SVN R

Rev

Rev 46834 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46834 Rev 53410
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# ${RHOME}/tools/GETDISTNAME
3
# ${R_HOME}/tools/GETDISTNAME
4
 
4
 
5
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
5
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
6
(
6
(
7
  maj=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\1/' < ${TOOLS_DIR}/../VERSION`
7
  maj=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\1/' < ${TOOLS_DIR}/../VERSION`
8
  min=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\2/' < ${TOOLS_DIR}/../VERSION`
8
  min=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\2/' < ${TOOLS_DIR}/../VERSION`