X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=branch%2Fdouble_build%2Finst%2Fetc%2Fpatches%2FCGIwithR%2F00_usr_local_shebang.patch;fp=branch%2Fdouble_build%2Finst%2Fetc%2Fpatches%2FCGIwithR%2F00_usr_local_shebang.patch;h=ce81d476a4f12bd8585e0a41f340db4b65f790ca;hb=bbe8a759637a74b5036c8c7345de55a96cb7bbd6;hp=0000000000000000000000000000000000000000;hpb=449efd24870d395eb1edfd4d3a59e239c8cc5547;p=cran2deb.git diff --git a/branch/double_build/inst/etc/patches/CGIwithR/00_usr_local_shebang.patch b/branch/double_build/inst/etc/patches/CGIwithR/00_usr_local_shebang.patch new file mode 100644 index 0000000..ce81d47 --- /dev/null +++ b/branch/double_build/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)