From: Kern Sibbald Date: Tue, 11 Aug 2009 09:58:28 +0000 (+0200) Subject: Remove non-portable i option on sed + create tmp dir X-Git-Tag: Release-5.0.0~333^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf6ac62897e7bb4f5ff708e37c9b6eb07cb355e0;p=bacula%2Fbacula Remove non-portable i option on sed + create tmp dir --- 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