Use ${WRKDIR} instead of /tmp for the temporary output from sed because

it's just generally a better idea. Why didn't I think of that ?

Submitted by:	nectar
This commit is contained in:
Gary Jennejohn 2001-10-27 16:24:43 +00:00
parent 8458b62518
commit f950dd3d7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49267
3 changed files with 6 additions and 6 deletions

View file

@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
# fix .so references in a few man pages
pre-configure::
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
.endfor
post-install::

View file

@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
# fix .so references in a few man pages
pre-configure::
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
.endfor
post-install::

View file

@ -83,8 +83,8 @@ WITH_OFFIX?= --with-offix=no
# fix .so references in a few man pages
pre-configure::
.for file in etc/ctags.1 etc/gnuattach.1 etc/gnuclient.1 etc/gnudoit.1
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > /tmp/tmp_zot
@${MV} /tmp/tmp_zot ${WRKSRC}/${file}
@${SED} -e 's/\.1/&.gz/' ${WRKSRC}/${file} > ${WRKDIR}/tmp_zot
@${MV} ${WRKDIR}/tmp_zot ${WRKSRC}/${file}
.endfor
post-install::