X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tags%2Fgsoc_final%2Fexec%2Fcran2deb;fp=tags%2Fgsoc_final%2Fexec%2Fcran2deb;h=a28879c260e6b6c02be361f0f05407f82c5955ea;hb=5101cce1568b46d042316f32c8216e956f76ff65;hp=0000000000000000000000000000000000000000;hpb=1d3c6e2092b87a8e640704ce3ceec4e8ece3859e;p=cran2deb.git diff --git a/tags/gsoc_final/exec/cran2deb b/tags/gsoc_final/exec/cran2deb new file mode 100755 index 0000000..a28879c --- /dev/null +++ b/tags/gsoc_final/exec/cran2deb @@ -0,0 +1,9 @@ +#!/usr/bin/rc +root=`{r -e 'suppressMessages(library(cran2deb));cat(system.file(package=''cran2deb''),file=stdout())'} +cmd=$1 +shift +if ([ ! -x $root/exec/$cmd ]) { + echo unknown command $cmd + exit 1 +} +$root/exec/$cmd $root $*