The R Project SVN R

Rev

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

Rev 21741 Rev 26336
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
#
2
#
3
# ${R_HOME}/bin/REMOVE for removing add-on packages
3
# ${R_HOME}/bin/REMOVE for removing add-on packages
4
 
4
 
5
revision='$Revision: 1.17 $'
5
revision='$Revision: 1.18 $'
6
version=`set - ${revision}; echo ${2}`
6
version=`set - ${revision}; echo ${2}`
7
version="R add-on package remover ${version}
7
version="R add-on package remover ${version}
8
 
8
 
9
Copyright (C) 2000-2002 The R Core Development Team.
9
Copyright (C) 2000-2002 The R Core Development Team.
10
This is free software; see the GNU General Public Licence version 2
10
This is free software; see the GNU General Public Licence version 2
Line 23... Line 23...
23
  -v, --version		print version info and exit
23
  -v, --version		print version info and exit
24
  -l, --library=LIB	remove packages from library tree LIB
24
  -l, --library=LIB	remove packages from library tree LIB
25
 
25
 
26
Report bugs to <r-bugs@r-project.org>."
26
Report bugs to <r-bugs@r-project.org>."
27
 
27
 
28
## <FIXME>
-
 
29
## This uses
-
 
30
##   basename
-
 
31
## which is not portable.
-
 
32
## We could fix this using suitable shell replacements, but we should
-
 
33
## really redo as much as we can using R code.
-
 
34
## </FIXME>
-
 
35
 
-
 
36
GETWD='@GETWD@'
28
GETWD='@GETWD@'
37
NO_PERL5=@NO_PERL5@
29
NO_PERL5=@NO_PERL5@
38
 
30
 
39
if test -n "${R_LIBS}"; then
31
if test -n "${R_LIBS}"; then
40
  lib=`echo "${R_LIBS}" | cut -f1 -d:`
32
  lib=`echo "${R_LIBS}" | cut -f1 -d:`