When fixing permissions do u+w, too (fixes badly packaged tarballs)

CVS patchset: 7197
CVS date: 2004/03/28 00:49:54
This commit is contained in:
arekm 2004-03-28 00:49:54 +00:00
parent a8b1e86048
commit 1cdfdb8b6c
1 changed files with 2 additions and 2 deletions

View File

@ -165,10 +165,10 @@ a=`ls -l foo.chmodtest | awk '{print $1}'`
rm -f foo.chmodtest
if test "$a" = "-rwxr-xr-x"; then
AC_MSG_RESULT(yes)
FIXPERMS=a+rX,g-w,o-w
FIXPERMS=a+rX,u+w,g-w,o-w
else
AC_MSG_RESULT(no (tell your OS vendor about GNU fileutils))
FIXPERMS=a+r,g-w,o-w
FIXPERMS=a+r,u+w,g-w,o-w
fi
AC_SUBST(FIXPERMS)