diff options
author | hut <hut@lavabit.com> | 2010-02-24 14:32:56 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-02-24 23:54:17 +0100 |
commit | 4072a34ddcb2bed75476eaf27a9b718625bdd29c (patch) | |
tree | e813b4c60b8462274261667bc17343d54790e6bd /ranger.py | |
parent | 8cffc5a4788af51d2c910c8616fabe44e3888ec1 (diff) | |
download | ranger-4072a34ddcb2bed75476eaf27a9b718625bdd29c.tar.gz |
ranger.py: fixed cd-after-exit with spaces in directory
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 cf60433b..ad5a9ce0 100755 --- a/ranger.py +++ b/ranger.py @@ -26,7 +26,7 @@ if [ $1 ]; then ranger_exec="$1" shift - cd `exec $ranger_exec --cd-after-exit $@ 3>&1 1>&2 2>&3 3>&-` + cd "`exec $ranger_exec --cd-after-exit $@ 3>&1 1>&2 2>&3 3>&-`" unset ranger_exec else echo "usage: source path/to/ranger.py path/to/ranger.py" |