blob: e5f60ac54e0658db36ae5d852066a0311afcd901 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#! /bin/sh
#
# $Id$
cd ${WRKSRC}
files_to_patch="\
client/src/cvsup.1 \
server/src/cvsupd.8 \
suplib/src/SupMisc.i3 \
suplib/src/m3makefile"
for i in ${files_to_patch}; do
rm -f ${i}.new
sed -e "s|/usr/local/|${PREFIX}/|g" ${i} >${i}.new || exit 1
mv -f ${i}.new ${i} || exit 1
done
|