summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-03-07 16:08:26 +0000
committerhubertf <hubertf@pkgsrc.org>1999-03-07 16:08:26 +0000
commit55d19f307a319595b04cb9bf31b57909da299b70 (patch)
tree329a383d56640ee7c8cad1243258ac1a9a87afe9 /games
parenta738c183d76c4ea522b32d83b921bf531466b92f (diff)
downloadpkgsrc-55d19f307a319595b04cb9bf31b57909da299b70.tar.gz
use ${WORKDIR} instead of "work". Fixes PR 7096 reported by
Julian Assange <proff@suburbia.net>
Diffstat (limited to 'games')
-rwxr-xr-xgames/crossfire/scripts/post-patch4
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