Skip to content

Backtick is not working in Modules Release Tcl 1.578 #365

@balaramr

Description

@balaramr

Backtick is not working in Modules Release Tcl 1.578

Modules version and configuration -- Modules Release Tcl 1.578

$ > module --version
Modules Release Tcl 1.578
$ >

To Reproduce Error and debugging information

Steps to reproduce the behavior:

$ > vi opensource 
Copyright (C) 2009-2018. All rights reserved.
#%Module

prepend-path	PATH	/opt/opensource/bin
prepend-path	LD_LIBRARY_PATH	/opt/opensource/lib64:
setenv		CURRENT_DIR	`pwd`
$ > module load opensource
$ > echo $CURRENT_DIR
`pwd`
$ > 

In direct shell

If we try this directly in shell backtick is working fine.

$ > setenv  CURRENT_DIR  `pwd`
$ > echo $CURRENT_DIR
/home/john
$ > 

Working -- Modules Release Tcl 3.1.6

Same thing is working in other module version

$ > module --version
Modules Release Tcl 3.1.6
$ >

Working in Module 3.1.6 version

$ > module load opensource
$ > echo $CURRENT_DIR
/home/john
$ > 

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