Uploaded image for project: 'SPI'
  1. SPI
  2. SPI-1023

views script does not work with zsh

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None
    • Environment:

      CERN SLC6 at Nikhef, CVMFS SFT snapshot

       

    • Originator Email:
    • Bug / Feature:
      Bug report
    • Severity:
      3 - Normal
    • Platforms:
      x86_64-slc6-gcc48-opt
    • Development:

      Description

      For bash, works fine

      stbc-i2:~> bash
      [templon@stbc-i2 ~]$ . /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_91 x86_64-slc6-gcc7-opt
      [templon@stbc-i2 ~]$ gcc --version
      gcc (GCC) 7.1.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      [templon@stbc-i2 ~]$

      For zsh:

      stbc-i2:~> . /cvmfs/sft.cern.ch/lcg/views/setupViews.sh LCG_91 x86_64-slc6-gcc7-opt
      (eval):1: no such file or directory: stbc-i2:/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt^G/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt/lib64:/user/templon/^[]0
      (eval):1: no such file or directory: stbc-i2:/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt^G/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt/lib:/cvmfs/sft.cern.ch/lcg/contrib/gcc/7/x86_64-slc6/lib64
      find: `/user/templon/\033]0;stbc-i2:/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt\a/cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc7-opt/lib/': No such file or directory

      Typically such problems have to do with assumptions on word splitting behavior, however I see that there are weird characters in the error messages (and I recall a sysadmin here saying to never never use eval ...) 

       

        Attachments

          Activity

            People

            • Assignee:
              pmendez Patricia Mendez Lorenzo
              Reporter:
              jtemplon Jeff Templon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                PlannedEnd:
                PlannedStart: