]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove non-portable i option on sed + create tmp dir
authorKern Sibbald <kern@sibbald.com>
Tue, 11 Aug 2009 09:58:28 +0000 (11:58 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 11 Aug 2009 09:58:28 +0000 (11:58 +0200)
regress/scripts/functions

index fa7d6f01106b922064d9265cd1bc9f699320d65a..1ed46830d6cfaa6ca695be9e0fe30706aa9948a0 100644 (file)
@@ -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