Project

General

Profile

Bug #22982

setup file has a problem with /bin/sh on fedora 28 which has bash version 4.4.23

Added by Ron Rechenmacher 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/23/2019
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
-
Duration:

Description

in the env described in subject line, I get:

/home/ron/work/upsPrj/erupt/ups
ron@ronlap77 :^) /bin/sh
sh-4.4$ . /p/setup
sh: `source': is a special builtin
sh: unsetenv_: command not found
sh-4.4$ 

I have checked in a change to setup that defines s_source functions for both sh and csh shell (as Marc does in setups).

History

#1 Updated by Ron Rechenmacher 4 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

version 1.54 of setup (with the relatively minor change of alias/functions s_source) has been tested with bash, sh, and tcsh.
Tested on Fedora 28 and SL 7.6

#2 Updated by Lynn Garren 4 months ago

Thanks Ron

#3 Updated by Lynn Garren 4 months ago

  • Status changed from Resolved to Closed

I've tagged ups v6_0_8 with updates to both setup and setups (in since Febrary). ups v6_0_8 is available on SciSoft and is installed on cluck and oink for testing.

Closing this ticket.



Also available in: Atom PDF