Description of problem: When starting zsh on s390x architecture, following error message apears: "/etc/profile.d/s390.sh:4: = not found". This is caused by incorrect syntax of equation in /etc/profile.d/s390.sh script Version-Release number of selected component (if applicable): s390utils-1.8.1-17.el5 How reproducible: always Steps to Reproduce: 1. start zsh Actual results: error message "/etc/profile.d/s390.sh:4: = not found" Expected results: no error message Additional info: "IF" statment in script: if [ "$contype" == "serial" ]; then If a word begins with an unquoted `=' and the EQUALS option is set, the remainder of the word is taken as the name of a command... Correct syntax is: if [[ "$contype" == "serial" ]]; then #double bracket OR if [ "$contype" = "serial" ]; then #single equal signs
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1335.html