Fix createmodule.sh to handle exported functions (bug #1197321)
This commit is contained in:
parent
8ae50d7dbf
commit
bdf13c6db7
@ -48,8 +48,11 @@ printenvarray () {
|
|||||||
env | while read x
|
env | while read x
|
||||||
do
|
do
|
||||||
key=${x%%=*}
|
key=${x%%=*}
|
||||||
value=${x#*=}
|
value=`printenv "$key"`
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
echo [$key]="'$value'"
|
echo [$key]="'$value'"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: environment-modules
|
Name: environment-modules
|
||||||
Version: 3.2.10
|
Version: 3.2.10
|
||||||
Release: 13%{?dist}
|
Release: 14%{?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
|
||||||
@ -140,6 +140,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 2 2015 Orion Poplwski <orion@cora.nwra.com> - 3.2.10-14
|
||||||
|
- Fix createmodule.sh to handle exported functions (bug #1197321)
|
||||||
|
|
||||||
* Wed Jan 28 2015 Orion Poplwski <orion@cora.nwra.com> - 3.2.10-13
|
* Wed Jan 28 2015 Orion Poplwski <orion@cora.nwra.com> - 3.2.10-13
|
||||||
- Add patch for python 3 support, use python3 for createmodule.py on F22
|
- Add patch for python 3 support, use python3 for createmodule.py on F22
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user