/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2009-01-17 09:46:54 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090117094654-ydvanis7caqoxxn7
* mandos-keygen (password): Remove bashism "${PIPESTATUS}".

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
        chmod a+rX "${DESTDIR}$dir"
169
169
    fi
170
170
done
171
 
for dir in "${DESTDIR}"/lib* "${DESTDIR}"/usr/lib*; do
172
 
    if [ -d "$dir" ]; then
173
 
        find "$dir" \! -perm -u+rw,g+r -prune -or -print0 \
174
 
            | xargs --null --no-run-if-empty chmod a+rX
175
 
    fi
 
171
for dir in /lib /usr/lib; do
 
172
    find "${DESTDIR}$dir" \! -perm -u+rw,g+r -prune -or -print0 \
 
173
        | xargs --null --no-run-if-empty chmod a+rX
176
174
done