dovecot-2.1: director-test.sh script fixed to use a working path...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 8 05:03:37 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/3027626f7239
changeset: 13808:3027626f7239
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 08 05:02:12 2011 +0200
description:
director-test.sh script fixed to use a working path for director-test binary.

diffstat:

 src/director/director-test.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1e118913348b -r 3027626f7239 src/director/director-test.sh
--- a/src/director/director-test.sh	Wed Dec 07 01:48:03 2011 +0200
+++ b/src/director/director-test.sh	Thu Dec 08 05:02:12 2011 +0200
@@ -4,6 +4,8 @@
 
 echo "Add to /etc/hosts:"
 
+curpath=`pwd`
+
 hosts=""
 dirs=""
 i=0
@@ -64,7 +66,7 @@
   }
 }
 service director-test {
-  executable = director-test /var/run/dovecot1/director-admin
+  executable = $curpath/director-test /var/run/dovecot1/director-admin
   process_limit = 1
 
   inet_listener {


More information about the dovecot-cvs mailing list