[svn-commits] tzafrir: branch group/zapata_conf r84149 - /team/group/zapata_conf/contrib/sc...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Sep 30 16:29:21 CDT 2007


Author: tzafrir
Date: Sun Sep 30 16:29:21 2007
New Revision: 84149

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84149
Log:
Rename script and install dir name. Avoids tab completion conflicts...

Added:
    team/group/zapata_conf/contrib/scripts/live_ast
      - copied, changed from r84140, team/group/zapata_conf/contrib/scripts/test_install
Removed:
    team/group/zapata_conf/contrib/scripts/test_install

Copied: team/group/zapata_conf/contrib/scripts/live_ast (from r84140, team/group/zapata_conf/contrib/scripts/test_install)
URL: http://svn.digium.com/view/asterisk/team/group/zapata_conf/contrib/scripts/live_ast?view=diff&rev=84149&p1=team/group/zapata_conf/contrib/scripts/test_install&r1=84140&p2=team/group/zapata_conf/contrib/scripts/live_ast&r2=84149
==============================================================================
--- team/group/zapata_conf/contrib/scripts/test_install (original)
+++ team/group/zapata_conf/contrib/scripts/live_ast Sun Sep 30 16:29:21 2007
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# test_install: run asterisk from a newly-built copy with minimal changes.
+# live_ast: run asterisk from a newly-built copy with minimal changes.
 
 # Copyright (C) 2007 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
 #
@@ -19,7 +19,17 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 # USA
 
-BASE_DIR=$PWD/inst
+# This script allows you to install Asterisk into a subdirectory of 
+# your source distribution and run it from there.
+#
+# Example usage:
+# ./configure
+# make
+# contrib/scripts/live_ast install
+# contrib/scripts/live_ast samples
+# contrib/scripts/live_ast run -c
+
+BASE_DIR=$PWD/live
 AST_CONF=$BASE_DIR/etc/asterisk/asterisk.conf
 
 case "$1" in
@@ -44,7 +54,7 @@
   $BASE_DIR/usr/sbin/asterisk -C $AST_CONF "$@"
   ;;
 *)
-  echo "$0: usage:        Equivalent of:"
+  echo "$0: Usage:        Equivalent of:"
   echo "$0 install        make install"
   echo "$0 samples        make samples"
   echo "$0 run [params]   asterisk [params]"




More information about the svn-commits mailing list