]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix for unix that don't support sed -i
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Oct 2008 07:17:54 +0000 (07:17 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Oct 2008 07:17:54 +0000 (07:17 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7887 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/copy-job-test

index 7ff636139f90623e6c0855906792450e5d4ae029..a157eae40e005cc34c29bc1e6527e20404c8f8c5 100755 (executable)
@@ -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