diff options
author | Bruce Korb <ddsinc09@ix.netcom.com> | 1999-04-28 14:42:03 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 1999-04-28 14:42:03 +0000 |
commit | fef01b2183557f1b3efd1e2e6d90a496f3dc87d7 (patch) | |
tree | 8024cd7915ffb229c88e7ac229a72a74117f3802 | |
parent | bc639f90588947747ddf9ef1f5d11fe3c811e3fd (diff) | |
download | gcc-fef01b2183557f1b3efd1e2e6d90a496f3dc87d7.zip gcc-fef01b2183557f1b3efd1e2e6d90a496f3dc87d7.tar.gz gcc-fef01b2183557f1b3efd1e2e6d90a496f3dc87d7.tar.bz2 |
Makesure the result shell script is writable
From-SVN: r26689
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rwxr-xr-x | gcc/fixinc/mkfixinc.sh | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bbb9d4..2c9c942 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1999-04-28 14:40 Bruce Korb <ddsinc09@ix.netcom.com> + + * fixinc/mkfixinc.sh: Makesure the result shell script is writable + Wed Apr 28 10:36:39 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * config/m68k/m68k.md (cmpsi+1): Use cmp.w when comparing a 16 bit diff --git a/gcc/fixinc/mkfixinc.sh b/gcc/fixinc/mkfixinc.sh index cdb9783..aaba302 100755 --- a/gcc/fixinc/mkfixinc.sh +++ b/gcc/fixinc/mkfixinc.sh @@ -109,6 +109,7 @@ esac if test -z "$fixincludes" then (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} + chmod 755 ${target} exit 0 fi @@ -119,6 +120,7 @@ if test -f ${srcdir}/"${fixincludes}" then echo copying ${srcdir}/$fixincludes to ${target} cp ${srcdir}/$fixincludes ${target} + chmod 755 ${target} exit 0 fi @@ -128,7 +130,7 @@ echo $MAKE SHELL=\"$SHELL\" install # make and install either the binary or the default script # -$MAKE SHELL="$SHELL" install && exit 0 +$MAKE SHELL="$SHELL" install && chmod 755 ${target} && exit 0 # Where is our inclhack script? That is the backup # in case we are unable to make a working binary. @@ -144,3 +146,4 @@ echo Could not install binary fixincludes. echo Installing shell script instead. cp ${INCLHACK} ${target} +chmod 755 ${target} |