summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/lunar-1,15run.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/lunar-1,15run.pl b/util/lunar-1,15run.pl
index 52ea8cea..7a307027 100644
--- a/util/lunar-1,15run.pl
+++ b/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 '十五' );