Skip to content

Commit

Permalink
make non-executable scripts intended to be used via $(SHELL)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@46833 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Nov 5, 2008
1 parent e9cbf51 commit d2f1b3f
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -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 \
Expand Down
2 changes: 0 additions & 2 deletions tools/GETCONFIG 100755 → 100644
@@ -1,5 +1,3 @@
#!/bin/sh
#
# ${RHOME}/tools/GETCONFIG

echo "/* Rconfig.h. Generated automatically */"
Expand Down
2 changes: 0 additions & 2 deletions tools/GETDISTNAME 100755 → 100644
@@ -1,5 +1,3 @@
#!/bin/sh
#
# ${RHOME}/tools/GETDISTNAME

TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
Expand Down
2 changes: 0 additions & 2 deletions tools/GETMAKEVAL 100755 → 100644
@@ -1,4 +1,2 @@
#! /bin/sh

expression="^ *${1} *= *"
grep "${expression}" ${2-Makefile} | sed "s/${expression}//"
2 changes: 0 additions & 2 deletions tools/GETVERSION 100755 → 100644
@@ -1,5 +1,3 @@
#!/bin/sh
#
# ${RHOME}/tools/GETVERSION

TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
Expand Down
2 changes: 0 additions & 2 deletions 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.

Expand Down
2 changes: 0 additions & 2 deletions 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.

Expand Down

0 comments on commit d2f1b3f

Please sign in to comment.