summaryrefslogtreecommitdiff
path: root/service.pl.in
diff options
context:
space:
mode:
authorunammx <unammx>2001-08-24 20:20:41 +0000
committerunammx <unammx>2001-08-24 20:20:41 +0000
commit8d17f2636029b21f2ca1ee8b2b8b549bef8311b6 (patch)
tree1605749360aa6e71080b30a6ced115193e20b3d3 /service.pl.in
parent484d2a1193cb183a9392390fac0d1d34a1e9d081 (diff)
Wed Aug 22 22:16:03 2001 Arturo Espinosa Aldama <arturo@ximian.com>
* *.pl.in: Ah, change had to go here too.
Diffstat (limited to 'service.pl.in')
-rw-r--r--service.pl.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/service.pl.in b/service.pl.in
index d853ec9..14afd41 100644
--- a/service.pl.in
+++ b/service.pl.in
@@ -22,8 +22,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-require "___scriptsdir___/file.pl";
-require "___scriptsdir___/report.pl";
+$SCRIPTSDIR = "$SCRIPTSDIR";
+$SCRIPTSDIR = "." if ($SCRIPTSDIR =~ /^___/);
+
+require "$SCRIPTSDIR/file.pl";
+require "$SCRIPTSDIR/report.pl";
# --- Service/daemon utilities --- #