summaryrefslogtreecommitdiff
path: root/contrib/scripts/live_ast
AgeCommit message (Collapse)Author
2014-01-26live_ast: run wrapped programs with execTzafrir Cohen
live_ast can be used as a wrapper script to run asterisk, gdb or valgrind. In those cases it runs them and returns the result. It is more useful to use 'exec' to avoid having another odd process in the chain. Review: https://reviewboard.asterisk.org/r/3110/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@406503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-07-13live_ast: don't set working directoryTzafrir Cohen
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
2012-02-07Continuation of last patch - since LIVE_AST_LD_PATH_EXTRA will now neverSean Bright
be empty, don't check for it, instead of check if LD_LIBRARY_PATH is already set and if so, append LIVE_AST_LD_PATH_EXTRA properly. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-02-07Include live/usr/lib in the shared library search path to that we pick upSean Bright
libasteriskssl.so at run time when using live_ast. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-02-07Whitespace only (remove trailing spaces)Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-07live_ast: valgrind: run asterisk under valgrindTzafrir Cohen
Adds a new sub-command, "valgrind" to live_ast. It runs asterisk under valgrind. The extra command-line parameters are passed to Asterisk as usual, and parameters to valgrind are passed through LIVE_AST_VALGRIND_ARGS in live.conf . Review: https://reviewboard.asterisk.org/r/1109/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@326636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-28Merged revisions 280090 via svnmerge from Leif Madsen
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r280090 | lmadsen | 2010-07-28 08:52:50 -0500 (Wed, 28 Jul 2010) | 16 lines Merged revisions 280089 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r280089 | lmadsen | 2010-07-28 08:51:16 -0500 (Wed, 28 Jul 2010) | 9 lines Merged revisions 280088 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r280088 | lmadsen | 2010-07-28 08:50:38 -0500 (Wed, 28 Jul 2010) | 1 line Update help text to be less confusing. ........ ................ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@280091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-16live_ast: add commands 'rsync' and 'gen-live-asterisk'Tzafrir Cohen
This adds the following two commands to live_ast: * rsync [user]@host directory Copy over all generated files to <directory> at remote host. Would allow running live_ast there. Hence allows separating a build machine from a test machine. * gen-live-asteris: regenerate live/asterisk . Useful if copying over files to a different directory. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@263250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-26Work around a bug in dash on Ubuntu by checking the number of arguments ↵Sean Bright
before shift'ing. Reported and tested by pabelanger. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08live_ast: Fix asterisk.conf instead of regenerating itTzafrir Cohen
* Don't write asterisk.conf from scratch. Fix the existing one. * Pass extra 'make' command-line arguments to 'install' and 'samples'. * Fix some extra typos. closes issue #15019 . git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22Add a contributed script for running Asterisk without installing it, first.Tilghman Lesher
(closes issue #11680) Reported by: tzafrir Patches: live_ast_6 uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151601 65c4cc65-6c06-0410-ace0-fbb531ad65f3