diff options
author | hubertf <hubertf> | 1999-03-07 16:08:26 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1999-03-07 16:08:26 +0000 |
commit | 0effdfe0cea2b7fac0ddf3169e60fa76a5a4791a (patch) | |
tree | 329a383d56640ee7c8cad1243258ac1a9a87afe9 /games | |
parent | 04868e4a889ca6bd87558c20241ee3715623faef (diff) | |
download | pkgsrc-0effdfe0cea2b7fac0ddf3169e60fa76a5a4791a.tar.gz |
use ${WORKDIR} instead of "work". Fixes PR 7096 reported by
Julian Assange <proff@suburbia.net>
Diffstat (limited to 'games')
-rwxr-xr-x | games/crossfire/scripts/post-patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/crossfire/scripts/post-patch b/games/crossfire/scripts/post-patch index d6982131c03..6c0856223a1 100755 --- a/games/crossfire/scripts/post-patch +++ b/games/crossfire/scripts/post-patch @@ -1,11 +1,11 @@ #!/bin/sh # -# $NetBSD: post-patch,v 1.2 1998/08/07 10:40:40 agc Exp $ +# $NetBSD: post-patch,v 1.3 1999/03/07 16:08:26 hubertf Exp $ # #this script changes all the /usr/local/bin/perl stuff to what it should be. pl=`which perl | sed 's/\//\\\\\\//g'` -find work -name \*.pl | ( +find ${WRKDIR} -name \*.pl | ( while read a; do cp $a tmp sed "s/#! *\/usr\/local\/bin\/perl/#!$pl/" tmp > $a |