1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Don't hardcode /usr/ports/distfiles; use ${DISTDIR} instead.

Noticed by:	bento
This commit is contained in:
Kris Kennaway 2002-05-15 02:48:11 +00:00
parent f79066d12d
commit 9a065ab17b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59130

View File

@ -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