summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-11 21:02:53 +0200
committerhut <hut@lavabit.com>2010-09-11 21:02:53 +0200
commit471fc68047418ec7af877598b19696837ed7750c (patch)
tree793e586a80e94e2b764c59aabfc7ee017806abbe /ranger.py
parent73e3ab44213174e1f01a06cf51ca9fd53ee35ea6 (diff)
downloadranger-471fc68047418ec7af877598b19696837ed7750c.tar.gz
ranger.py: fixed escape in embedded shellscript
Diffstat (limited to 'ranger.py')
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index cc7f14ed..010ca04b 100755
--- a/ranger.py
+++ b/ranger.py
@@ -23,7 +23,7 @@
 # after you exit ranger by starting it with: source ranger ranger
 """":
 if [ $1 ]; then
-	if [ -z $XDG_CONFIG_HOME ]; then
+	if [ -z "$XDG_CONFIG_HOME" ]; then
 		$@ --fail-unless-cd && cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)"
 	else
 		$@ --fail-unless-cd && cd "$(grep \^\' "$XDG_CONFIG_HOME"/ranger/bookmarks | cut -b3-)"
' href='#n95'>95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157