summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-03-07 16:08:26 +0000
committerhubertf <hubertf>1999-03-07 16:08:26 +0000
commit1d854c5756c32922bc18d18980789e5c5aeba500 (patch)
tree329a383d56640ee7c8cad1243258ac1a9a87afe9 /games
parent7579c0a016e748dee6fcc45981dce27c11981137 (diff)
downloadpkgsrc-1d854c5756c32922bc18d18980789e5c5aeba500.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