Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 3889415bf8c2f44d8a42824d68e501504b709460
      
https://github.com/NixOS/nix/commit/3889415bf8c2f44d8a42824d68e501504b709460
  Author: Gabriel Gonzalez <[email protected]>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M scripts/install-nix-from-closure.sh

  Log Message:
  -----------
  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.


  Commit: d593625d0594f282ec6a24a8038b886c3fef37ab
      
https://github.com/NixOS/nix/commit/d593625d0594f282ec6a24a8038b886c3fef37ab
  Author: Domen Kožar <[email protected]>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M scripts/install-nix-from-closure.sh

  Log Message:
  -----------
  Merge pull request #910 from Gabriel439/patch-1

Fix `??` in Nix warning message


Compare: https://github.com/NixOS/nix/compare/75d2492f20dc...d593625d0594
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to