diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-07-13 00:05:46 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-07-13 00:05:46 +0000 |
commit | 2603707f301a05f07e73134c6baa9e904b7fac7d (patch) | |
tree | 0e6e2689dc88b96426798c0966b7a692ed5d94a6 /channels | |
parent | a7dfafdc56bf018e0acacdf0692d7c1eefd43d8d (diff) |
live_ast: don't set working directory
contrib/scripts/live_ast currently assumes that it is being run from the
top-level directory of the source tree. It creates a script that will
also set the working directory.
This fix avoids the need to set the working directory if the caller sets
LIVE_AST_BASE_DIR instead.
It relies on realpath for that. If realpath is not available, it will
fall back to the original behaviour.
Review: https://reviewboard.asterisk.org/r/2027/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions