diff options
author | kris <kris@FreeBSD.org> | 2002-05-15 10:48:11 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-05-15 10:48:11 +0800 |
commit | 83990e5000bd812be3cb7c777ec754e3e06fa22a (patch) | |
tree | a56c749fbddaff69fcf401f16d64a5115b50abb0 | |
parent | 83f54bf7d57db96bda3d8ec8888b03f65101ee50 (diff) | |
download | freebsd-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
-rw-r--r-- | games/rt2-demo/files/do-install | 2 |
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 |