summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin/packages/nag/chmod_man.patch
blob: 0753d2906802a67eeb5e0c9cc5c638f32e4585f6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             
--- a/INSTALLU.sh
+++ b/INSTALLU.sh
@@ -267,7 +267,7 @@ if [ ! -z "${mandir-}" ]; then
         for i in man/*.${manext}; do
             i_base=`basename "$i"`
             $move "$i" "${mandir}${manext}"
-            chmod 644 "${mandir}${manext}"
+            chmod 644 "${mandir}${manext}/${i_base}"
             if [ "${whoami}" = "root" ]; then
                 $chown $owner "${mandir}${manext}/${i_base}"
                 $chgrp $group "${mandir}${manext}/${i_base}"