mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
ShellCheck correctly warns:
In scripts/install-nix-from-closure.sh line 218:
echo -e "\nif [ -e $p ]; then . $p; fi # added by Nix installer" >> "$fn"
^-- SC3037: In POSIX sh, echo flags are undefined.
In scripts/install-nix-from-closure.sh line 229:
echo -e "\nif [ -e $p ]; then . $p; fi # added by Nix installer" >> "$fn"
^-- SC3037: In POSIX sh, echo flags are undefined.
Indeed, this actually breaks on Ubuntu where /bin/sh is dash.
Fixes #5458.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
||
|---|---|---|
| .. | ||
| bigsur-nixbld-user-migration.sh | ||
| create-darwin-volume.sh | ||
| install-darwin-multi-user.sh | ||
| install-multi-user.sh | ||
| install-nix-from-closure.sh | ||
| install-systemd-multi-user.sh | ||
| install.in | ||
| local.mk | ||
| nix-http-export.cgi.in | ||
| nix-profile-daemon.sh.in | ||
| nix-profile.sh.in | ||
| nix-reduce-build.in | ||
| prepare-installer-for-github-actions | ||