summary refs log tree commit diff stats
path: root/doc/config/commands.py
diff options
context:
space:
mode:
authorJesse Byler <jbyler@coverity.com>2015-06-10 16:20:09 -0700
committerJesse Byler <jbyler@coverity.com>2015-06-10 16:20:09 -0700
commit864e372ce78c6e2c027bf525ea9eae1dfd0ddb0a (patch)
treeef692032bceb190aac988b3f94fbe93e333ad668 /doc/config/commands.py
parent1a5c0cb9a5409a6214797273b5398ef0e849cd63 (diff)
downloadranger-864e372ce78c6e2c027bf525ea9eae1dfd0ddb0a.tar.gz
Fix mktemp invocation to work on Mac OS X and Linux
mktemp on Mac OS X (and probably all BSDs) just returns an error when
invoked without any arguments.  The -t option used in this change is
interpreted differently on Mac OS X and Linux, and is deprecated on
Linux, but this invocation works as expected on both.

See discussion at https://unix.stackexchange.com/questions/30091
Another alternative would be to use Python's tempfile module:
https://docs.python.org/2/library/tempfile.html
Diffstat (limited to 'doc/config/commands.py')
0 files changed, 0 insertions, 0 deletions
24 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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225