]> git.sur5r.net Git - bacula/bacula/commitdiff
Make disk-changer sed command compatible with FreeBSD
authorKern Sibbald <kern@sibbald.com>
Mon, 31 Jul 2006 21:04:36 +0000 (21:04 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 31 Jul 2006 21:04:36 +0000 (21:04 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3215 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kes-1.39
bacula/scripts/disk-changer.in

index a5aaeb7dbcd3416a0be245837ef36d337fc51572..5d673cef47a89b8a611504f6946e95b8a9300103 100644 (file)
@@ -3,6 +3,7 @@
 
 General:
 31Jul06
+kes  Make disk-changer sed command compatible with FreeBSD.
 kes  Make a first cut at a ReleaseNotes and ChangeLog for a 
      beta release.
 kes  Make make clean decend into the src/win32 directory.
index 7cba06acf431f7c3131a362928ead92a77aaa58f..94c5682f4dc23239df8e253e7a3d97e73e7bfa2c 100644 (file)
@@ -107,7 +107,7 @@ check_parm_count() {
 #
 get_dir() {
    bn=`basename $device`
-   dir=`echo "$device" | sed -e s%/$bn%%g -`
+   dir=`echo "$device" | sed -e s%/$bn%%g`
    if [ ! -d $dir ]; then
       echo "ERROR: Autochanger directory \"$dir\" does not exist.\n"
       echo "      You must create it.\n"