summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
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);