X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=branch%2Fpatch%2Fexec%2Fcran2deb;fp=branch%2Fpatch%2Fexec%2Fcran2deb;h=7efedc751a484296ff30eb77cc3ed568cebc6635;hb=75ac4a666a0faa4a2d09aeed4db94746c097b1ca;hp=0000000000000000000000000000000000000000;hpb=7c74d4e371b7ecda2035aa106918b0427818cacf;p=cran2deb.git diff --git a/branch/patch/exec/cran2deb b/branch/patch/exec/cran2deb new file mode 100755 index 0000000..7efedc7 --- /dev/null +++ b/branch/patch/exec/cran2deb @@ -0,0 +1,10 @@ +#!/bin/sh +umask 002 +root=$(r -e 'suppressMessages(library(cran2deb));cat(system.file(package="cran2deb"),file=stdout())') +cmd=$1 +shift +if [ ! -x "$root/exec/$cmd" ]; then + echo unknown command $cmd + exit 1 +fi +"$root/exec/$cmd" "$root" $*