diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-04 19:54:13 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-04 19:54:13 +0800 |
commit | 520ec4e2bceaa3debad68072d79f730d7003f1f7 (patch) | |
tree | 467261301906322bc965934e03213c1d01a90110 | |
parent | 6983880d852ea0d743ddf3fd4988fe65c26dbb66 (diff) | |
download | pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar.gz pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar.bz2 pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar.lz pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar.xz pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.tar.zst pttbbs-520ec4e2bceaa3debad68072d79f730d7003f1f7.zip |
fix typo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-x | pttbbs/blog/builddb.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/blog/builddb.pl b/pttbbs/blog/builddb.pl index 17c681fe..4c38c2a3 100755 --- a/pttbbs/blog/builddb.pl +++ b/pttbbs/blog/builddb.pl @@ -55,7 +55,7 @@ sub buildconfigure($$) my($board, $rch) = @_; my($outdir, $fn, $flag, %config, %attr); - $outdir = "$BLOGROOT/$board"; + $outdir = "$BLOGDATA/$board"; `/bin/rm -rf $outdir; /bin/mkdir -p $outdir`; tie(%config, 'DB_File', "$outdir/config.db", @@ -102,8 +102,8 @@ sub builddata($$$$$$) my($board, $rbh, $rebuild, $contentonly, $number, $force) = @_; my(%dat, $dbfn, $idxfn, $y, $m, $d, $t, $currid, $idx); - $dbfn = "$BLOGROOT/$board.db"; - $idxfn = "$BLOGROOT/$board.idx"; + $dbfn = "$BLOGDATA/$board.db"; + $idxfn = "$BLOGDATA/$board.idx"; if( $rebuild ){ unlink $dbfn; unlink $idxfn; |