]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director-test.sh script fixed to use a working path for director-test binary.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:02:12 +0000 (05:02 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:02:12 +0000 (05:02 +0200)
src/director/director-test.sh

index 91526d25a8e47fd98919f2c88f64a0023a7452d4..5c2b4c93e98826876b4b266877d83c602e7ea621 100755 (executable)
@@ -4,6 +4,8 @@ director_count=3
 
 echo "Add to /etc/hosts:"
 
+curpath=`pwd`
+
 hosts=""
 dirs=""
 i=0
@@ -64,7 +66,7 @@ service imap-login {
   }
 }
 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 {