summaryrefslogtreecommitdiffstats
path: root/llvm/projects/sample
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
commitd70eebee51334812d7318b2fb3749b667a963daa (patch)
tree761ae2b9b81f5a56ac6cdc613bb36ac24a49594b /llvm/projects/sample
parentf43ab91486c4a7b9e45e88c0a040960f551a0f91 (diff)
downloadbcm5719-llvm-d70eebee51334812d7318b2fb3749b667a963daa.tar.gz
bcm5719-llvm-d70eebee51334812d7318b2fb3749b667a963daa.zip
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! llvm-svn: 80371
Diffstat (limited to 'llvm/projects/sample')
-rwxr-xr-xllvm/projects/sample/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/projects/sample/configure b/llvm/projects/sample/configure
index 2efb85397b7..f6aa8476eab 100755
--- a/llvm/projects/sample/configure
+++ b/llvm/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
OpenPOWER on IntegriCloud