Merge lp:~jontai/openvista-gtm-integration/bug519404 into lp:openvista-gtm-integration

Proposed by Jon Tai
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jontai/openvista-gtm-integration/bug519404
Merge into: lp:openvista-gtm-integration
Diff against target: 13 lines (+3/-0)
1 file modified
scripts/usr/lib/openvista/functions (+3/-0)
To merge this branch: bzr merge lp:~jontai/openvista-gtm-integration/bug519404
Reviewer Review Type Date Requested Status
jeff.apple Approve
Review via email: mp+18946@code.launchpad.net
To post a comment you must log in.
Revision history for this message
jeff.apple (jeff-apple) wrote :

What an annoying bug! Fix looks fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/usr/lib/openvista/functions'
2--- scripts/usr/lib/openvista/functions 2009-12-10 22:31:28 +0000
3+++ scripts/usr/lib/openvista/functions 2010-02-09 19:03:17 +0000
4@@ -114,6 +114,9 @@
5 GTMXC_openvista="$gtm_dist/openvista.xc"
6 fi
7
8+ # strip out existing GT.M paths first, see bug #519404
9+ PATH=`echo "$PATH" | tr ':' '\n' | grep -v '^/opt/openvista/..*/gtm$' | tr '\n' ':' | sed 's/:$//'`
10+
11 PATH="$PATH:$gtm_dist"
12
13 export gtm_dist

Subscribers

People subscribed via source and target branches