]> git.sur5r.net Git - bacula/bacula/commitdiff
Start bacula from current directory
authorKern Sibbald <kern@sibbald.com>
Tue, 1 Jul 2008 09:52:17 +0000 (09:52 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 1 Jul 2008 09:52:17 +0000 (09:52 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7270 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions

index b76f70f5b004558543f14296bc4e05263239a176..551eb75a2049e13c5cfc2c98faf15bd0654cbf3a 100644 (file)
@@ -103,13 +103,17 @@ run_bacula()
    debug_wait
    zstat=0
    if test "$debug" -eq 1 ; then
-     bin/bacula-ctl-sd start
-     bin/bacula-ctl-fd start
-     bin/bacula-ctl-dir start
+     cd bin
+     ./bacula-ctl-sd start
+     ./bacula-ctl-fd start
+     ./bacula-ctl-dir start
+     cd ..
      cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
      return $?
    else
-     bin/bacula start 2>&1 >/dev/null
+     cd bin
+     ./bacula start 2>&1 >/dev/null
+     cd ..
      cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
      return $?
    fi