Now figures out what directory the scripts are in
authorslef <slef>
Wed, 5 Nov 2003 23:33:45 +0000 (23:33 +0000)
committerslef <slef>
Wed, 5 Nov 2003 23:33:45 +0000 (23:33 +0000)
z3950/z3950-daemon-launch.sh
z3950/z3950-daemon-shell.sh

index 2249636..ad2f81f 100755 (executable)
@@ -14,7 +14,7 @@
 #   Needs SysV-type start/stop options
 
 #----------------------------
-. z3950-daemon-options
+. $(dirname $0)/z3950-daemon-options
 export KohaZ3950Dir
 
 #----------------------------
@@ -38,6 +38,9 @@ exit
 
 #--------------
 # $Log$
+# Revision 1.4  2003/11/05 23:33:45  slef
+# Now figures out what directory the scripts are in
+#
 # Revision 1.3  2003/10/06 09:10:39  slef
 # Removing config info from z3950*sh and using C4::Context in processz3950queue (Fixed bug 39)
 #
index 14fca20..519fe80 100755 (executable)
@@ -12,7 +12,7 @@
 #    Call  z3950-daemon-launch.sh  instead
 
 #----------------------------
-. z3950-daemon-options
+. $(dirname $0)/z3950-daemon-options
 
 #----------------------------
 LOGFILE=$LogDir/z3950-daemon-`date +%Y%m%d-%H%M`.log
@@ -41,6 +41,9 @@ exec $KohaZ3950Script $LogDir >>$LOGFILE 2>&1
 
 #-------------------
 # $Log$
+# Revision 1.5  2003/11/05 23:33:45  slef
+# Now figures out what directory the scripts are in
+#
 # Revision 1.4  2003/10/20 19:16:50  slef
 # Work on install bugs (see bug 632)
 #