blob: c9b0f50408c70aa3625aa3c448d227e1428eef32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#! /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
;;
FreeBSD)
echo 'BINGRP = wheel' 1>&3
echo 'MANDIR = share/man/man' 1>&3
echo 'MANGRP = wheel' 1>&3
;;
Linux)
echo 'BINMODE = 755' 1>&3
echo 'MANMODE = 644' 1>&3
echo 'MANDIR = share/man/man' 1>&3
;;
esac
|
for my tech blog and contact information.