summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMichael Wood <esiotrot@gmail.com>2011-01-07 13:51:48 +0200
committerMatthieu Patou <mat@matws.net>2011-02-13 17:45:05 +0300
commit7db5c10f1a87b58c750f51d0d2d20264f1049dc9 (patch)
tree8dabd1f1c2076361ce71b1a7666dd96cc74bfba6 /source4
parent60df3c06790d2b4f6e3006123bd883fd842dfb41 (diff)
downloadsamba-7db5c10f1a87b58c750f51d0d2d20264f1049dc9.tar.gz
samba-7db5c10f1a87b58c750f51d0d2d20264f1049dc9.tar.bz2
samba-7db5c10f1a87b58c750f51d0d2d20264f1049dc9.zip
s4: samba_backup: Fix typos.
Signed-off-by: Matthieu Patou <mat@matws.net>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/samba_backup6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/bin/samba_backup b/source4/scripting/bin/samba_backup
index fabf60cf2c..56125789d8 100755
--- a/source4/scripting/bin/samba_backup
+++ b/source4/scripting/bin/samba_backup
@@ -39,8 +39,8 @@ for d in $DIRS;do
relativedirname=`find . -type d -name "$d" -prune`
n=`echo $d | sed 's/\//_/g'`
if [ "$d" = "private" ]; then
- find $refativedirname -name "*.ldb.bak" -exec rm {} \;
- for ldb in `find $refativedirname -name "*.ldb"`; do
+ find $relativedirname -name "*.ldb.bak" -exec rm {} \;
+ for ldb in `find $relativedirname -name "*.ldb"`; do
tdbbackup $ldb
if [ $? -ne 0 ]; then
echo "Error while backuping $ldb"
@@ -52,7 +52,7 @@ for d in $DIRS;do
echo "Error while archiving ${WHERE}/samba4_${n}.${WHEN}.tar.bz2"
exit 1
fi
- find $refativedirname -name "*.ldb.bak" -exec rm {} \;
+ find $relativedirname -name "*.ldb.bak" -exec rm {} \;
else
tar cjf ${WHERE}/${n}.${WHEN}.tar.bz2 $relativedirname >/dev/null 2>&1
if [ $? -ne 0 ]; then