aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-15 10:48:11 +0800
committerkris <kris@FreeBSD.org>2002-05-15 10:48:11 +0800
commit83990e5000bd812be3cb7c777ec754e3e06fa22a (patch)
treea56c749fbddaff69fcf401f16d64a5115b50abb0 /games
parent83f54bf7d57db96bda3d8ec8888b03f65101ee50 (diff)
downloadfreebsd-ports-gnome-83990e5000bd812be3cb7c777ec754e3e06fa22a.tar.gz
freebsd-ports-gnome-83990e5000bd812be3cb7c777ec754e3e06fa22a.tar.zst
freebsd-ports-gnome-83990e5000bd812be3cb7c777ec754e3e06fa22a.zip
Don't hardcode /usr/ports/distfiles; use ${DISTDIR} instead.
Noticed by: bento
Diffstat (limited to 'games')
-rw-r--r--games/rt2-demo/files/do-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/rt2-demo/files/do-install b/games/rt2-demo/files/do-install
index 9f34e6494fac..8cf85360bd69 100644
--- a/games/rt2-demo/files/do-install
+++ b/games/rt2-demo/files/do-install
@@ -10,7 +10,7 @@ set -e
mkdir -p ${LIBDIR}/
SKIP=`strings ${DISTDIR}/rt2-demo.run | head -10 | grep ^skip= | cut -d= -f2`
-tail +$SKIP /usr/ports/distfiles/rt2-demo.run | \
+tail +$SKIP ${DISTDIR}/rt2-demo.run | \
tar -C ${LIBDIR}/ -xz -f - --exclude rt2_demo --exclude rt2_demo.ppc
brandelf -t Linux ${LIBDIR}/rt2_demo.x86