]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Use temporary file instead of sed -i
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 8 Apr 2008 12:47:51 +0000 (12:47 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 8 Apr 2008 12:47:51 +0000 (12:47 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6756 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/accurate-test

index 0d84e9ad45e0b9e15ff3fa08ed69b0c8c23480a5..95c30a587c02eb45faecd6beb0b1a0e88619c682 100755 (executable)
@@ -14,7 +14,8 @@ scripts/cleanup
 
 copy_test_confs
 /bin/cp -f scripts/bacula-dir.conf.accurate bin/bacula-dir.conf
-sed -i s/all,/all,saved,/ bin/bacula-fd.conf
+sed s/all,/all,saved,/ bin/bacula-fd.conf > tmp/1
+cp tmp/1 bin/bacula-fd.conf
 
 change_jobname Client1 $JobName