提交 5c036367 authored 作者: Michael Collins's avatar Michael Collins

Fix typos

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk/scripts/contrib@12909 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3162c040
...@@ -70,7 +70,7 @@ my $srcdirlen = length $srcdir; # calculate this once since it doesn't change ...@@ -70,7 +70,7 @@ my $srcdirlen = length $srcdir; # calculate this once since it doesn't change
my $headerfile = $tmpdir . "/header-defs.txt"; my $headerfile = $tmpdir . "/header-defs.txt";
my $datafile = $tmpdir . "/get-set-vars.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'; my $site = 'http://fisheye.freeswitch.org/browse/FreeSWITCH';
......
...@@ -12,12 +12,16 @@ ...@@ -12,12 +12,16 @@
# MC 2009-04-02 # MC 2009-04-02
# Change these vars if your source directory is different # Change these vars if your source directory is different
SRCDIR=/usr/usr/freeswitch.trunk SRCDIR=/usr/src/freeswitch.trunk
TMPDIR=/tmp TMPDIR=/tmp
# Grep the variables, then grep the aliases in the header files # 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 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 grep -n "_VARIABLE" $SRCDIR/src/include/*h > $TMPDIR/header-defs.txt
# launch perl script here # launch perl script here
./extract-fs-chanvars.pl --srcdir=$SRCDIR --tmpdir=$TMPDIR echo Creating HTML file in $TMPDIR directory
\ No newline at end of file ./create-chanvars-html-page.pl --srcdir=$SRCDIR --tmpdir=$TMPDIR
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论