]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/prepare-other-loc
ebl tweak regress scripts to be able to change binary location
[bacula/bacula] / regress / scripts / prepare-other-loc
1 #!/bin/sh
2
3 . scripts/functions
4
5 SCR=$cwd/bin/bacula-ctl
6 sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=$bin:" $SCR-dir > tmp/1
7 mv tmp/1 $SCR-dir
8 sed "s:BACSDBIN=$cwd/bin:BACSDBIN=$bin:" $SCR-sd > tmp/1
9 mv tmp/1 $SCR-sd
10 sed "s:BACFDBIN=$cwd/bin:BACFDBIN=$bin:" $SCR-fd > tmp/1
11 mv tmp/1 $SCR-fd
12 chmod -x $cwd/bin/bacula-fd $cwd/bin/bacula-sd $cwd/bin/bacula-dir $cwd/bin/bconsole    
13 chmod +x $SCR-*
14