From: Eric Bollengier Date: Fri, 24 Oct 2008 07:17:54 +0000 (+0000) Subject: ebl Fix for unix that don't support sed -i X-Git-Tag: Release-3.0.0~716 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aefd2eaeae465b112c4c785ac51840f79fd91104;p=bacula%2Fbacula ebl Fix for unix that don't support sed -i git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7887 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/copy-job-test b/regress/tests/copy-job-test index 7ff636139f..a157eae40e 100755 --- a/regress/tests/copy-job-test +++ b/regress/tests/copy-job-test @@ -14,8 +14,8 @@ scripts/cleanup scripts/copy-migration-confs scripts/prepare-disk-changer echo "${cwd}/build" >${cwd}/tmp/file-list -sed -i 's/migrate/copy/g' ${cwd}/bin/bacula-dir.conf -sed -i 's/Migrate/Copy/g' ${cwd}/bin/bacula-dir.conf +sed 's/migrate/copy/g' ${cwd}/bin/bacula-dir.conf > ${cwd}/tmp/1 +sed 's/Migrate/Copy/g' ${cwd}/tmp/1 > ${cwd}/bin/bacula-dir.conf change_jobname NightlySave $JobName