Use a variable for /tmp to make lintian happy (possibly-insecure-handling-of-tmp-files-in-maintainer-script)

This commit is contained in:
HungryHobo
2010-11-13 00:39:55 +00:00
parent 0d23e37124
commit 2152c5f6c9

View File

@ -2,7 +2,8 @@
/etc/init.d/i2p stop /etc/init.d/i2p stop
# stuff in /tmp # stuff in /tmp
rm -f /tmp/wrapper.log /tmp/wrapper.log.1 /tmp/wrapper.log.2 /tmp/i2p.pid /tmp/routerjvm.pid /tmp/router.ping TMPDIR=/tmp
rm -f ${TMPDIR}/wrapper.log ${TMPDIR}/wrapper.log.1 ${TMPDIR}/wrapper.log.2 ${TMPDIR}/i2p.pid ${TMPDIR}/routerjvm.pid ${TMPDIR}/router.ping
# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router # dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
LIB=/usr/lib/i2p LIB=/usr/lib/i2p