summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-31 03:45:22 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-31 03:45:22 +0800
commit22d3a79175892433a901be3a98c8edc75f625a2e (patch)
tree9d7493b6a7f5f06f307d6d6bd7e19f57b0a91f9c /mbbsd
parent9f3022c5b10164fa2d61afe02e5ad668b00f8121 (diff)
downloadpttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar.gz
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar.bz2
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar.lz
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar.xz
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.tar.zst
pttbbs-22d3a79175892433a901be3a98c8edc75f625a2e.zip
always respect to BBSHOME
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/page.c b/mbbsd/page.c
index 25d43eac..dff54689 100644
--- a/mbbsd/page.c
+++ b/mbbsd/page.c
@@ -142,7 +142,7 @@ main_railway()
strncpy(mhdr.title, "¤õ¨®®É¨è·j´Mµ²ªG", TTLEN);
snprintf(command, sizeof(command), "echo \"path=%d from-station=%s to-station=%s"
- " from-time=%02d to-time=%02d tt=%s type=%s date=%d\" | /home/bbs/bin/railway_wrapper.pl > %s",
+ " from-time=%02d to-time=%02d tt=%s type=%s date=%d\" | "BBSHOME"/bin/railway_wrapper.pl > %s",
path, addr[path - 1][from - 1], addr[path - 1][to - 1], time_go, time_reach,
(tt[0] == '1') ? "start" : "arriv",
(type[0] == '1') ? "fast" : "slow", date, genbuf);