diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rifle_sxiv.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index f65524a8..e5b14db8 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -29,7 +29,8 @@ # listfiles twice. -tmp="/tmp/sxiv_rifle_$$" +TMPDIR="${TMPDIR:-/tmp}" +tmp="$TMPDIR/sxiv_rifle_$$" listfiles () { find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f -print | |