]> git.donarmstrong.com Git - cran2deb.git/blobdiff - tags/gsoc_final/exec/cran2deb
gsoc_final
[cran2deb.git] / tags / gsoc_final / exec / cran2deb
diff --git a/tags/gsoc_final/exec/cran2deb b/tags/gsoc_final/exec/cran2deb
new file mode 100755 (executable)
index 0000000..a28879c
--- /dev/null
@@ -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 $*