tavoid debianutils dependency - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit a04f64f5cd922f37a0cd89206d9c8934f6992d2d DIR parent 521ff6b8290c9da3ecd8ca55dbaf0ce820c6ff22 HTML Author: boyska <piuttosto@logorroici.org> Date: Thu, 31 Mar 2011 01:14:51 +0200 avoid debianutils dependency ttempfile bad, mktemp good Diffstat: M src/tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/src/tomb b/src/tomb t@@ -303,7 +303,7 @@ create_tomb() { losetup -f ${tombdir}/${tombfile} # allocates the next loopback for our file # create the keyfile in tmpfs so that we leave less traces in RAM - keytmp=`tempfile -p tomb` + keytmp=`mktemp /tmp/tomb.XXX` rm -f $keytmp mkdir -p $keytmp mount tmpfs ${keytmp} -t tmpfs -o size=1m