commit 25333c5bb09f126aca807903c35407c1b9dbcb3b
parent 5029c2884a934a1e2d4006bda03e148a67ea5d8f
Author: boyska <piuttosto@logorroici.org>
Date: Sat, 7 May 2011 00:19:05 +0200
Fixes 1594b2c :usage of 'try()' in tomb
it is defined in tomb-open, but not in tomb
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tomb b/src/tomb
@@ -84,7 +84,7 @@ check_bin() {
# safe dir creation function
safe_dir() {
- try mktemp
+ which mktemp &> /dev/null
if [[ $? = 0 ]]; then
mktemp -d /dev/shm/$1.XXXX.$$
return