install.sh: avoid creating symlinks with restricted permissions
commit2e1bb87af24e3cb053bb3d5f4bb6e2e72f79c44a
authorTim Cuthbertson <tim@gfxmonk.net>
Sun, 4 Feb 2024 00:55:23 +0000 (3 19:55 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 4 Feb 2024 00:57:30 +0000 (3 19:57 -0500)
treee9cf8d98782d559af6272d0373f22c0724a12a17
parent0e330722c353e71ec9d1518d77278c09f39a1c55
install.sh: avoid creating symlinks with restricted permissions

Linux and most systems do not have symlink permissions, but some
systems, including MacOS, do, and creation of the symlink with umask
set to 0777 makes the symlink inaccessible on such systems.

clear umask when making a symlink so that the behavior is uniform.
tools/install.sh