Skip to content

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

Open

Description

@backelj

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions