On Thursday, 27 February 2020 16:59:09 PST William Douglas wrote:
@@ -1,7 +1,7 @@
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
Please use instead:
Like profile.x86_64 does in the first one of the branch. The others don't need
it because then we know PATH isn't empty.
Otherwise you'll add a : with nothing afterwards at the end if PATH was empty
before. Some PATH-parsing applications might interpret that as searching the
current directory, which could be a security issue.
Though... Clear Linux doesn't run on 32-bit. Why do we have this file?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products