From 1ca16906334b211ebae40f56845b87e823b9debd Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 31 Jul 2006 21:04:36 +0000 Subject: [PATCH] Make disk-changer sed command compatible with FreeBSD git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3215 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kes-1.39 | 1 + bacula/scripts/disk-changer.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/kes-1.39 b/bacula/kes-1.39 index a5aaeb7dbc..5d673cef47 100644 --- a/bacula/kes-1.39 +++ b/bacula/kes-1.39 @@ -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. diff --git a/bacula/scripts/disk-changer.in b/bacula/scripts/disk-changer.in index 7cba06acf4..94c5682f4d 100644 --- a/bacula/scripts/disk-changer.in +++ b/bacula/scripts/disk-changer.in @@ -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" -- 2.39.5