1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Do not create temporary files in ${SCRIPTDIR}. Use ${WRKDIR}.

Pointed out by: asami
This commit is contained in:
Jean-Marc Zucconi 2000-03-03 22:07:51 +00:00
parent 6c6ff752f6
commit b33604f599
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26511

View File

@ -35,7 +35,7 @@ for i in $RES; do
shift
done
rm -f $SCRIPTDIR/post-install
rm -f $WRKDIR/post-install
echo
echo "Choose a font directory for automatic font generation."
echo "------------------------------------------------------"
@ -47,7 +47,7 @@ echo -n "font directory [$CACHE]: "
read answ; if [ "$answ" != "" ]; then
CACHE=$answ;
else
echo "mkdir -p $CACHE/pk; chmod 1777 $CACHE/pk" > $SCRIPTDIR/post-install
echo "mkdir -p $CACHE/pk; chmod 1777 $CACHE/pk" > $WRKDIR/post-install
fi
sed -e s:/usr/lib/tex:$PREFIX/share/texmf: \