- Don't load bash init script when bash is running as "sh" (bug #529745)

This commit is contained in:
Orion Poplawski 2009-10-23 18:21:24 +00:00
parent ffedddb393
commit a163fccc9e
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: environment-modules Name: environment-modules
Version: 3.2.7b Version: 3.2.7b
Release: 3%{?dist} Release: 4%{?dist}
Summary: Provides dynamic modification of a user's environment Summary: Provides dynamic modification of a user's environment
Group: System Environment/Base Group: System Environment/Base
@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Oct 23 2009 Orion Poplawski <orion@cora.nwra.com> - 3.2.7b-4
- Don't load bash init script when bash is running as "sh" (bug #529745)
* Mon Oct 19 2009 Orion Poplawski <orion@cora.nwra.com> - 3.2.7b-3 * Mon Oct 19 2009 Orion Poplawski <orion@cora.nwra.com> - 3.2.7b-3
- Support different flavors of "sh" (bug #529493) - Support different flavors of "sh" (bug #529493)

View File

@ -1 +1 @@
. /usr/share/Modules/init/`basename $SHELL` . /usr/share/Modules/init/`basename \`ps -p $$ -ocomm=\``