Skip to content

Commit df06f7b

Browse files
committed
add POSIX disclaimers
1 parent 9068049 commit df06f7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/install-nix-from-closure.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
###
1111
### Upstream URL: https://github.com/NixOS/nix/blob/master/scripts/install-nix-from-closure.sh
1212
###
13-
### Script is fully POSIX compatible, with controlled exceptions.
13+
### Script is fully POSIX compatible (for standard see http://pubs.opengroup.org/onlinepubs/9699919799/), with controlled exceptions.
1414
### (must be) Fully transactional. That means, if it not succeeded - it does rolls back.
1515
###
1616
### `/bin/sh -u` is not possible to do, because Docker environments has USER='', and shell checks that and not get even to execution part
@@ -33,7 +33,9 @@
3333

3434
# Special things about this script
3535
#
36-
# 1) Notice, Warning, Error, ErrorRevert massages have special form to be very readable and get attention.
36+
# 1) Since this script tries to be fully POSIX compatible, code is influenced by that. There are day-to-day commands and solutions we get used to, but they are not in POSIX standard. So if you try to simplify some operation, please check it with http://pubs.opengroup.org/onlinepubs/9699919799/ .
37+
#
38+
# 2) Notice, Warning, Error, ErrorRevert massages have special form to be very readable and get attention.
3739
# Message body starts from new line.
3840
# And has 4 spaces from the left. Always.
3941
#

0 commit comments

Comments
 (0)