From f393f5eb8741d8d11b5455caea610963f2655a22 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 8 Apr 2008 12:47:51 +0000 Subject: [PATCH] ebl Use temporary file instead of sed -i git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6756 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/accurate-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/tests/accurate-test b/regress/tests/accurate-test index 0d84e9ad45..95c30a587c 100755 --- a/regress/tests/accurate-test +++ b/regress/tests/accurate-test @@ -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 -- 2.39.5