From bf6ac62897e7bb4f5ff708e37c9b6eb07cb355e0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 11 Aug 2009 11:58:28 +0200 Subject: [PATCH] Remove non-portable i option on sed + create tmp dir --- regress/scripts/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/scripts/functions b/regress/scripts/functions index fa7d6f0110..1ed46830d6 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -353,7 +353,7 @@ copy_test_confs() disable_pluguins() { for i in ${conf}/bacula-fd.conf; do - sed 's/Plugin/#Plugin/i' $i > $tmp/1 + sed 's/Plugin/#Plugin/' $i > $tmp/1 cp -f $tmp/1 $i done } @@ -492,6 +492,7 @@ export tmp export src export tmpsrc +mkdir -p ${tmp} touch ${tmp}/dir.out ${tmp}/fd.out ${tmp}/sd.out CLIENT=${HOST}-fd -- 2.39.5