The Samba-Bugzilla – Attachment 6203 Details for
Bug 7918
Typos in source4/scripting/bin/samba_backup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix typos
0001-s4-samba_backup-Fix-typos.patch (text/plain), 1.29 KB, created by
Michael Wood
on 2011-01-14 15:16:53 UTC
(
hide
)
Description:
Fix typos
Filename:
MIME Type:
Creator:
Michael Wood
Created:
2011-01-14 15:16:53 UTC
Size:
1.29 KB
patch
obsolete
>From afe740ee61dd94cc3dc2cf43a071c628dac7ceb4 Mon Sep 17 00:00:00 2001 >From: Michael Wood <esiotrot@gmail.com> >Date: Fri, 7 Jan 2011 13:51:48 +0200 >Subject: [PATCH 1/3] s4: samba_backup: Fix typos. > >--- > source4/scripting/bin/samba_backup | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/source4/scripting/bin/samba_backup b/source4/scripting/bin/samba_backup >index fabf60c..5612578 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 >-- >1.7.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7918
: 6203