[Freeswitch-svn] [commit] r12909 - freeswitch/trunk/scripts/contrib/mcollins
FreeSWITCH SVN
mcollins at freeswitch.org
Fri Apr 3 11:43:59 PDT 2009
Author: mcollins
Date: Fri Apr 3 13:43:59 2009
New Revision: 12909
Log:
Fix typos
Modified:
freeswitch/trunk/scripts/contrib/mcollins/create-chanvars-html-page.pl
freeswitch/trunk/scripts/contrib/mcollins/extract-fs-vars-from-source-tree.sh
Modified: freeswitch/trunk/scripts/contrib/mcollins/create-chanvars-html-page.pl
==============================================================================
--- freeswitch/trunk/scripts/contrib/mcollins/create-chanvars-html-page.pl (original)
+++ freeswitch/trunk/scripts/contrib/mcollins/create-chanvars-html-page.pl Fri Apr 3 13:43:59 2009
@@ -70,7 +70,7 @@
my $headerfile = $tmpdir . "/header-defs.txt";
my $datafile = $tmpdir . "/get-set-vars.txt";
-my $htmlfile = "/Users/michaelcollins/Downloads/chanvars.html";
+my $htmlfile = $tmpdir . "/chanvars.html";
my $site = 'http://fisheye.freeswitch.org/browse/FreeSWITCH';
Modified: freeswitch/trunk/scripts/contrib/mcollins/extract-fs-vars-from-source-tree.sh
==============================================================================
--- freeswitch/trunk/scripts/contrib/mcollins/extract-fs-vars-from-source-tree.sh (original)
+++ freeswitch/trunk/scripts/contrib/mcollins/extract-fs-vars-from-source-tree.sh Fri Apr 3 13:43:59 2009
@@ -12,12 +12,16 @@
# MC 2009-04-02
# Change these vars if your source directory is different
-SRCDIR=/usr/usr/freeswitch.trunk
+SRCDIR=/usr/src/freeswitch.trunk
TMPDIR=/tmp
# Grep the variables, then grep the aliases in the header files
+echo Searching source tree for channel variable set/get...
grep -rn "[sg]et_variable(" $SRCDIR/* | grep -v Binary | grep -v svn > $TMPDIR/get-set-vars.txt
+
+echo Getting header file definitions...
grep -n "_VARIABLE" $SRCDIR/src/include/*h > $TMPDIR/header-defs.txt
# launch perl script here
-./extract-fs-chanvars.pl --srcdir=$SRCDIR --tmpdir=$TMPDIR
\ No newline at end of file
+echo Creating HTML file in $TMPDIR directory
+./create-chanvars-html-page.pl --srcdir=$SRCDIR --tmpdir=$TMPDIR
More information about the Freeswitch-svn
mailing list