diff options
Diffstat (limited to 'ranger.py')
-rwxr-xr-x | ranger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py index 1d7e42e1..864acf27 100755 --- a/ranger.py +++ b/ranger.py @@ -9,7 +9,7 @@ # default is simply "ranger". (Not this file itself!) # The other arguments are passed to ranger. """": -tempfile="$(mktemp)" +tempfile="$(mktemp -t tmp.XXXXXX)" ranger="${1:-ranger}" test -z "$1" || shift "$ranger" --choosedir="$tempfile" "${@:-$(pwd)}" |