diff -ur -F'^f' recoll-1.9.0/filters.orig/rcllyx recoll-1.9.0/filters/rcllyx --- recoll-1.9.0/filters.orig/rcllyx 2007-02-06 16:08:22.000000000 +0100 +++ recoll-1.9.0/filters/rcllyx 2007-04-25 19:00:12.000000000 +0200 @@ -107,8 +107,10 @@ fi ttdir=/tmp fi -tmpdir=$ttdir/rcllyx_tmp$$ -mkdir $tmpdir || exit 1 +tmpdir=`mktemp -d $ttdir/rcllyx.XXXXXX` || + { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } +trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 +trap '(exit 0); exit' 1 2 13 15 mkdir $tmpdir/rcllyxtmp || exit 1 cleanup() diff -ur -F'^f' recoll-1.9.0/filters.orig/rclsoff recoll-1.9.0/filters/rclsoff --- recoll-1.9.0/filters.orig/rclsoff 2007-02-06 16:08:23.000000000 +0100 +++ recoll-1.9.0/filters/rclsoff 2007-04-25 18:55:17.000000000 +0200 @@ -100,8 +100,10 @@ fi else ttdir=/tmp fi -tmpdir=$ttdir/rclsoff_tmp$$ -mkdir $tmpdir || exit 1 +tmpdir=`mktemp -d $ttdir/rclsoff.XXXXXX` || + { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } +trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 +trap '(exit 0); exit' 1 2 13 15 mkdir $tmpdir/rclsofftmp || exit 1 cleanup() diff -ur -F'^f' recoll-1.9.0/filters.orig/rclkwd recoll-1.9.0/filters/rclkwd --- recoll-1.9.0/filters.orig/rclkwd 2007-02-06 16:08:22.000000000 +0100 +++ recoll-1.9.0/filters/rclkwd 2007-04-25 19:00:12.000000000 +0200 @@ -102,8 +102,10 @@ fi else ttdir=/tmp fi -tmpdir=$ttdir/rclkwd_tmp$$ -mkdir $tmpdir || exit 1 +tmpdir=`mktemp -d $ttdir/rclkwd.XXXXXX` || + { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } +trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 +trap '(exit 0); exit' 1 2 13 15 mkdir $tmpdir/rclkwdtmp || exit 1 cleanup()