summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-20 23:22:18 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-20 23:22:18 +0800
commit94f99a779219e98924256d7431398236d9185611 (patch)
treea48c6d16f7f0fb4354d12a4e5b94e2bc4c8fca76
parentb270bc06332782e53d1b2b6108bc92c2b79b27e2 (diff)
downloadpttbbs-94f99a779219e98924256d7431398236d9185611.tar
pttbbs-94f99a779219e98924256d7431398236d9185611.tar.gz
pttbbs-94f99a779219e98924256d7431398236d9185611.tar.bz2
pttbbs-94f99a779219e98924256d7431398236d9185611.tar.lz
pttbbs-94f99a779219e98924256d7431398236d9185611.tar.xz
pttbbs-94f99a779219e98924256d7431398236d9185611.tar.zst
pttbbs-94f99a779219e98924256d7431398236d9185611.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/lunar-1,15run.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/util/lunar-1,15run.pl b/pttbbs/util/lunar-1,15run.pl
index 52ea8cea..7a307027 100644
--- a/pttbbs/util/lunar-1,15run.pl
+++ b/pttbbs/util/lunar-1,15run.pl
@@ -1,4 +1,5 @@
#!/usr/bin/perl
+use lib '/home/bbs/bin/';
use LocalVars;
# 每農曆初一, 十五就會跑一次 $ARGV[0]
# 資料來源 http://tw.weathers.yahoo.com/
@@ -7,4 +8,4 @@ $din = <FH>;
close FH;
($month, $day) = $din =~ /農曆 (.*?)月 (.*?)日/;
-system($ARGV[0]) if( $day eq '一' || $day eq '十五' );
+system("@ARGV") if( $day eq '一' || $day eq '十五' );