Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Fix the broken LD_LIBRARY path in cron and move the elements into one common function #4976

Merged
merged 1 commit into from
Mar 17, 2014

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented Mar 17, 2014

No description provided.

@mfojtik
Copy link
Contributor Author

mfojtik commented Mar 17, 2014

[test]

@openshift-bot
Copy link

@mfojtik
Copy link
Contributor Author

mfojtik commented Mar 17, 2014

@jwhonce @danmcp can you review this one pls?

I'm moving the logic around setting the *_PATH from *_PATH_ELEMENT to Bash SDK so the cron and rhcsh will use the same code and having it in one place.

The main problem here was that the BASH_SDK var is not exported in cron_runscript which cause the 'get_path_element()' function not be executed....

@jwhonce
Copy link
Contributor

jwhonce commented Mar 17, 2014

@mfojtik It seems wasteful to build both paths and then throw one away, twice. Why not two functions?

@mfojtik
Copy link
Contributor Author

mfojtik commented Mar 17, 2014

@jwhonce you are 100% right, srry about that I spent too much time trying to identify the problem I forgot to refactor the function in the end. Will split it in two.

@mfojtik
Copy link
Contributor Author

mfojtik commented Mar 17, 2014

@jwhonce done :-)

@danmcp
Copy link
Contributor

danmcp commented Mar 17, 2014

[merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/4956/) (Image: devenv_4526)

@openshift-bot
Copy link

Evaluated for online up to 3755dfc

openshift-bot pushed a commit that referenced this pull request Mar 17, 2014
@openshift-bot openshift-bot merged commit bfb66b6 into openshift:master Mar 17, 2014
@mfojtik mfojtik deleted the bugzilla/1076626 branch March 21, 2014 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants