Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup_runtime.sh and relative paths #448

Open
doutriaux1 opened this issue Apr 17, 2014 · 7 comments
Open

setup_runtime.sh and relative paths #448

doutriaux1 opened this issue Apr 17, 2014 · 7 comments
Assignees

Comments

@doutriaux1
Copy link
Contributor

Seems to me that the relative paths is creating more issues than solving any. May bee should reserve relative path for cpack installations.

doutriaux1@omar:[]:[4355]> source WGNE/bin/setup_runtime.sh
doutriaux1@omar:[
]:[4355]> which python
/usr/bin/python
doutriaux1@omar:[~]:[4355]> source /WGNE/bin/setup_runtime.sh
doutriaux1@omar:[
]:[4356]> which python
/home/doutriaux1/WGNE/bin/python

@aashish24
Copy link
Contributor

@doutriaux1 the script, I believe, assumes that you are giving full path to it and that's why it didn't work for the case 1). It is easy for bash to find that in the script. For CSH I am not sure.

@doutriaux1
Copy link
Contributor Author

do you mind fixing it for sh at least? thanks.

@aashish24
Copy link
Contributor

Sure, I will push a fix for sh.

@aashish24
Copy link
Contributor

@doutriaux1 I am unable to reproduce.
source install/bin/setup_runtime.sh
DIR is, /home/aashish/tools/cdat/build_debug/install/bin
aashish@krishna:build_debug 10:44:18 $ which python
/home/aashish/tools/cdat/build_debug/install/bin/python

What version you were using when you found this issue?

@doutriaux1
Copy link
Contributor Author

master

@doutriaux1
Copy link
Contributor Author

try to install it somewhere else than "install"

@aashish24
Copy link
Contributor

Ok..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants