X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tags%2Fpre-dual%2Finst%2Fetc%2Fpatches%2FCGIwithR%2F00_usr_local_shebang.patch;fp=tags%2Fpre-dual%2Finst%2Fetc%2Fpatches%2FCGIwithR%2F00_usr_local_shebang.patch;h=ce81d476a4f12bd8585e0a41f340db4b65f790ca;hb=ab9547f1dd3779e34528a7a638ed085d5b9c5e26;hp=0000000000000000000000000000000000000000;hpb=4baac28764128067cb2fd6343321e7e0f522bdfd;p=cran2deb.git diff --git a/tags/pre-dual/inst/etc/patches/CGIwithR/00_usr_local_shebang.patch b/tags/pre-dual/inst/etc/patches/CGIwithR/00_usr_local_shebang.patch new file mode 100644 index 0000000..ce81d47 --- /dev/null +++ b/tags/pre-dual/inst/etc/patches/CGIwithR/00_usr_local_shebang.patch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 00_use_local_shebang.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: remove /usr/local from #! + +@DPATCH@ + +diff -Naur CGIwithR.orig/inst/examples/dangerous.R CGIwithR/inst/examples/dangerous.R +--- CGIwithR.orig/inst/examples/dangerous.R 2005-11-23 16:07:08.000000000 +0000 ++++ CGIwithR/inst/examples/dangerous.R 2008-09-13 15:11:14.000000000 +0000 +@@ -1,4 +1,4 @@ +-#! /usr/local/bin/R ++#! /usr/bin/R + + ### An example CGI script in R + ### +diff -Naur CGIwithR.orig/inst/examples/trivial.R CGIwithR/inst/examples/trivial.R +--- CGIwithR.orig/inst/examples/trivial.R 2005-11-23 16:07:08.000000000 +0000 ++++ CGIwithR/inst/examples/trivial.R 2008-09-13 15:11:24.000000000 +0000 +@@ -1,4 +1,4 @@ +-#! /usr/local/bin/R ++#! /usr/bin/R + + tag(HTML) + tag(HEAD)