]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/copy-2drive-confs
Big backport from Enterprise
[bacula/bacula] / regress / scripts / copy-2drive-confs
index 1f7db20c97d2f36f327563f958a20c6c6a25fb46..2272d12b4ef504dd3cf5e5efbfbf02c713f629bd 100755 (executable)
@@ -1,15 +1,14 @@
 #!/bin/sh
 #
-# Copyright (C) 2000-2015 Kern Sibbald
+# Copyright (C) 2000-2017 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
-
 cp -f scripts/bacula-dir-tape.conf ${conf}/bacula-dir.conf
 cp -f scripts/bacula-sd-2drive.conf ${conf}/bacula-sd.conf
 cp -f scripts/test-bacula-fd.conf ${conf}/bacula-fd.conf
 cp -f scripts/test-console.conf ${conf}/bconsole.conf
 cp -f scripts/test-console.conf ${conf}/bat.conf
-outf="tmp/sed_tmp"
+outf="tmp/sed_tmp2"
 echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
 cp ${conf}/bacula-dir.conf tmp/1
 sed -f ${outf} tmp/1 >${conf}/bacula-dir.conf