1#!/bin/sh
2
3for f in *; do
4  if [ -d $f ]; then
5     $2 -m 755 -d $1/$f/man8
6     $2 -m 644 $f/dnsmasq.8 $1/$f/man8
7     echo installing $1/$f/man8/dnsmasq.8
8  fi
9done
10