aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-08-28 16:12:48 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-08-28 16:12:48 +0000
commit6493798d831e3255faafc81de4ec598c06e4cdca (patch)
tree020529ea51993541c32269910bfda56823c6d10f /projects
parent6f9bb6f31b37380fa9c4412b400b53eba65b7410 (diff)
downloadexternal_llvm-6493798d831e3255faafc81de4ec598c06e4cdca.zip
external_llvm-6493798d831e3255faafc81de4ec598c06e4cdca.tar.gz
external_llvm-6493798d831e3255faafc81de4ec598c06e4cdca.tar.bz2
install-sh chmods to 0755 by default, and this causes 'git diff' to show
that all the Makefiles changed mode. Fix this by tellint install-sh to chmod only to 0644, these are not executable files after all! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/sample/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/projects/sample/configure b/projects/sample/configure
index 2efb853..f6aa847 100755
--- a/projects/sample/configure
+++ b/projects/sample/configure
@@ -2320,15 +2320,15 @@ esac
echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
- ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
+ ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
lib/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
- ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
+ ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
lib/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
- ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
+ ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
tools/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
- ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
+ ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
tools/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
- ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
+ ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
esac
done
_ACEOF