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 | b2a5ebb78b1df8f4b88894511196c492a899beb1 (patch) | |
tree | 45208a19b700aa48e16b1d141c77fa1e26692993 | |
parent | 913a161e887481a5eb9817022a823bd8f4afd965 (diff) | |
download | pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar.gz pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar.bz2 pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar.lz pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar.xz pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.tar.zst pttbbs-b2a5ebb78b1df8f4b88894511196c492a899beb1.zip |
fix typo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-x | blog/builddb.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/blog/builddb.pl b/blog/builddb.pl index 17c681fe..4c38c2a3 100755 --- a/blog/builddb.pl +++ b/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; |