#! /bin/sh set -o errexit set -o nounset exec 3>config.mk case "$( uname )" in OpenBSD) echo 'BINGRP = bin' 1>&3 echo 'MANGRP = bin' 1>&3 ;; Linux) echo 'BINMODE = 755' 1>&3 echo 'MANMODE = 644' 1>&3 echo 'MANDIR = share/man/man' 1>&3 ;; esac