Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make non-executable scripts intended to be used via $(SHELL)

git-svn-id: https://svn.r-project.org/R/trunk@46833 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit d2f1b3f43af4e4d7039a202ec93d3bb3880d83ab 1 parent e9cbf51
ripley authored
View
2  Makefile.in
@@ -102,7 +102,7 @@ svnonly:
(cd $(srcdir); LC_ALL=C TZ=GMT svn info || $(ECHO) "Revision: unknown") 2> /dev/null \
| sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
| cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
- $(top_srcdir)/tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
+ $(SHELL) $(top_srcdir)/tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
rm -f SVN-REVISION-tmp ; \
else \
if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
View
2  tools/GETCONFIG 100755 → 100644
@@ -1,5 +1,3 @@
-#!/bin/sh
-#
# ${RHOME}/tools/GETCONFIG
echo "/* Rconfig.h. Generated automatically */"
View
2  tools/GETDISTNAME 100755 → 100644
@@ -1,5 +1,3 @@
-#!/bin/sh
-#
# ${RHOME}/tools/GETDISTNAME
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
View
2  tools/GETMAKEVAL 100755 → 100644
@@ -1,4 +1,2 @@
-#! /bin/sh
-
expression="^ *${1} *= *"
grep "${expression}" ${2-Makefile} | sed "s/${expression}//"
View
2  tools/GETVERSION 100755 → 100644
@@ -1,5 +1,3 @@
-#!/bin/sh
-#
# ${RHOME}/tools/GETVERSION
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
View
2  tools/copy-if-change 100755 → 100644
@@ -1,5 +1,3 @@
-#!/bin/sh
-#
# Like cp $1 $2, but if the files are the same, do NOTHING.
# Status is 0 if $2 is changed, 1 otherwise.
View
2  tools/move-if-change 100755 → 100644
@@ -1,5 +1,3 @@
-#!/bin/sh
-#
# Like mv $1 $2, but if the files are the same, just delete $1.
# Status is 0 if $2 is changed, 1 otherwise.
Please sign in to comment.
Something went wrong with that request. Please try again.