Project

General

Profile

Bug #6098

problem with setup for zsh

Added by Lynn Garren over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/01/2014
Due date:
% Done:

0%

Estimated time:
Experiment:
Duration:

Description

It seems that neither the setup nor the setups script work when in the zsh shell. This is for ups 5.0.5. We need to fix this ASAP so we can deliver other packages that now appear to work in zsh.

Paul Russo has solved the problem of finding where the script lives for both tcsh and zsh. The solution is neither pretty nor short, but it works fine in all our tests so far.

History

#1 Updated by Marc Mengel over 5 years ago

  • Status changed from New to Resolved

Okay, I have a fix for this in r2810, this incorporates Chris's zsh find-thyself hack as well
as the SH_WORD_SPLIT option fix for setup $SETUP_UPS when ups is already setup; this of course
does not fix the csh sourced-from-a-script bug, but it's not clear to me that anything can.

So we still Strongly Reccomend that folks source the setups script after installing it in
a new place, or "ups current ups" to get the SETUPS_SAVE set in the script, for the cases of
things run as /bin/sh, or /bin/csh scripts, where $_ hacks don't work.

#2 Updated by Marc Mengel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF