blob: 49e105f7cce4143538d52cdda1bae2203d582118 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# $NetBSD: post-patch,v 1.1.1.1 2000/12/13 08:19:21 garbled Exp $
#
#this script changes all the /usr/local/bin/perl stuff to what it should be.
pl=`which perl | sed 's/\//\\\\\\//g'`
find ${WRKDIR} -name \*.pl | (
while read a; do
cp $a tmp
sed "s/#! *\/usr\/local\/bin\/perl/#!$pl/" tmp > $a
done;
)
rm tmp
|