]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update with $bin variable
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 7 Nov 2008 14:35:51 +0000 (14:35 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 7 Nov 2008 14:35:51 +0000 (14:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8011 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/prepare-other-loc

index 6b64b579e8308801cb936be2d348d334214665a0..26120d64dca755d6eefb19d15304d535dc50891f 100755 (executable)
@@ -3,11 +3,11 @@
 . scripts/functions
 
 SCR=$cwd/bin/bacula-ctl
-sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=/opt/bacula:" $SCR-dir > tmp/1
+sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=$bin:" $SCR-dir > tmp/1
 mv tmp/1 $SCR-dir
-se   d -i "s:BACSDBIN=$cwd/bin:BACSDBIN=/opt/bacula:" $SCR-sd > tmp/1
+se   d -i "s:BACSDBIN=$cwd/bin:BACSDBIN=$bin:" $SCR-sd > tmp/1
 mv tm  p/1 $SCR-sd
-sed -i "s:BACFDBIN=$cwd/bin:BACFDBIN=/opt/bacula:" $SCR-fd > tmp/1
+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    
 chmod +x $SCR-*