about summary refs log tree commit diff
path: root/src/libstore/http-binary-cache-store.cc
diff options
context:
space:
mode:
authorGabriel Gonzalez <Gabriel439@gmail.com>2016-05-18T19·02-0700
committerGabriel Gonzalez <Gabriel439@gmail.com>2016-05-18T19·02-0700
commit3889415bf8c2f44d8a42824d68e501504b709460 (patch)
tree387c672b39889055c75eaa083d2db386a8c4a8d9 /src/libstore/http-binary-cache-store.cc
parent75d2492f20dc513337de3ef2d45e1d5c68c7dff8 (diff)
Fix `??` in Nix warning message
Nix sometimes outputs a warning message like this:

```
directory /nix does not exist; creating it by running ‘?? using sudo
```

... when it really meant to output something that looked like this:

```
directory /nix does not exist; creating it by running 'mkdir -m 0755 /nix && chown gabriel /nix' using sudo
```

The reason why is due to some bizarre behavior in Bash where it will translate anything of the form `$x’` to `??`, leading to the incorrect warning message.  I don't know what is the origin of this Bash behavior, but the easiest fix is to just use ASCII quotes instead of unicode quotes.
Diffstat (limited to 'src/libstore/http-binary-cache-store.cc')
0 files changed, 0 insertions, 0 deletions