Permalink
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...
1 parent e9cbf51 commit d2f1b3f43af4e4d7039a202ec93d3bb3880d83ab ripley committed Nov 5, 2008
Showing with 1 addition and 13 deletions.
  1. +1 −1 Makefile.in
  2. +0 −2 tools/GETCONFIG
  3. +0 −2 tools/GETDISTNAME
  4. +0 −2 tools/GETMAKEVAL
  5. +0 −2 tools/GETVERSION
  6. +0 −2 tools/copy-if-change
  7. +0 −2 tools/move-if-change
View
@@ -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.

0 comments on commit d2f1b3f

Please sign in to comment.