  @output tmp/dir.out
  status dir
  @output tmp/fd.out
+Index: scripts/prepare-other-loc
+===================================================================
+--- scripts/prepare-other-loc	(révision 8011)
++++ scripts/prepare-other-loc	(copie de travail)
+@@ -5,8 +5,8 @@
+ SCR=$cwd/bin/bacula-ctl
+ sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=$bin:" $SCR-dir > tmp/1
+ mv tmp/1 $SCR-dir
+-se   d -i "s:BACSDBIN=$cwd/bin:BACSDBIN=$bin:" $SCR-sd > tmp/1
+-mv tm  p/1 $SCR-sd
++sed -i "s:BACSDBIN=$cwd/bin:BACSDBIN=$bin:" $SCR-sd > tmp/1
++mv tmp/1 $SCR-sd
+ sed -i "s:BACFDBIN=$cwd/bin:BACFDBIN=$bin:" $SCR-fd > tmp/1
+ mv tmp/1 $SCR-fd
+ chmod -x $cwd/bin/bacula-{fd,sd,dir} $cwd/bin/bconsole    
 Index: scripts/setup
 ===================================================================
---- scripts/setup	(révision 7895)
+--- scripts/setup	(révision 7994)
 +++ scripts/setup	(copie de travail)
 @@ -20,6 +20,7 @@
     exit 1

    fi
 }
 
@@ -201,7 +201,7 @@
 
 stop_bacula()
 {
-   bin/bacula stop 2>&1 >/dev/null
+   $bin/bacula stop 2>&1 >/dev/null
 }
 
 check_for_zombie_jobs()
@@ -356,10 +356,10 @@
 load_slot1() 
 {

 fi
Index: scripts/functions
===================================================================
--- scripts/functions	(révision 7994)
+++ scripts/functions	(copie de travail)
@@ -10,11 +10,11 @@
    echo "s%  mail =%# mail = %g" >${outf}
    echo "s%  operator =%# operator =%g" >>${outf}
    cp bin/bacula-dir.conf tmp/1
-   sed -f ${outf} tmp/1 >bin/bacula-dir.conf
+   sed -f ${outf} tmp/1 > bin/bacula-dir.conf
    echo " "
    echo " "
