提交 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
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';
......
......@@ -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
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论