Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/profile.d/torque.csh error on CentOS 7 #450

Open
backelj opened this issue Dec 13, 2017 · 0 comments
Open

/etc/profile.d/torque.csh error on CentOS 7 #450

backelj opened this issue Dec 13, 2017 · 0 comments

Comments

@backelj
Copy link

backelj commented Dec 13, 2017

Hi all,

The package file moab-torque-client-6.1.1.1-1.el7.x86_64.rpm (provided by Adaptive as part of MOAB) contains the file /etc/profile.d/torque.csh with these contents when installed:

test -d ${_bindir} && setenv PATH /usr/local/bin:${PATH}
test id -u = 0 && test-d ${_sbindir} && setenv PATH /usr/local/sbin:${PATH}

Off course, these dirs "_bindir" and "_sbindir" respectively, so this fails.

Moreover, when you want to start "csh" (say, from bash), you get:

$ csh
_bindir: Undefined variable.

As a side effect, running csh-scripts using "csh -e ./script.csh", the script returns error 1 and never runs.

-- Regards,

Franky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant