rpmbuild, environment modules and zsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi there

When packaging a software, i usually use environment modules [ http://modules.sourceforge.net/ ] to configure things like compilers, libraries and etc.

It all used to work fine when my user account used bash as shell, but since I've changed to zsh, I always have to explicitly run 'source /etc/profile.d/modules.sh' after '%build' so that the 'module' command will work ok. I even explicitly set '%__build_shell' to '/bin/bash' , but it did not help.

I'm using :

- centos 6.5 x86_64
- rpm-build 4.8.0-37
- environment-modules 3.2.10-1
- zsh 4.3.10-7

Does anybody have a clue of what happened when I switched from bash to zsh ?

Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux