Bug 7918 - Typos in source4/scripting/bin/samba_backup
Summary: Typos in source4/scripting/bin/samba_backup
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P3 minor (vote)
Target Milestone: ---
Assignee: Matthieu Patou
QA Contact: samba4-qa@samba.org
URL: http://lists.samba.org/archive/samba-...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 15:14 UTC by Michael Wood
Modified: 2011-02-13 08:48 UTC (History)
0 users

See Also:


Attachments
Fix typos (1.29 KB, patch)
2011-01-14 15:16 UTC, Michael Wood
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wood 2011-01-14 15:14:42 UTC
> By the way, there are some typos in the script.  A variable called
> relativedirname is set at the top of the loop, and then further down,
> refativedirname and relativedirname are both used a few times.
>
> This probably works because you cd to $FROMWHERE before the loop and
> the "find $refativedirname -name ..." expands to "find -name ..."
> which is treated the same as "find . -name ..." by GNU find (but not
> BSD find and the versions from proprietary UNIXes as far as I
> remember.)
Comment 1 Michael Wood 2011-01-14 15:16:53 UTC
Created attachment 6203 [details]
Fix typos
Comment 2 Matthieu Patou 2011-02-13 08:48:03 UTC
Pushed to my tree (finally). 
Thanks for the patch sorry for the delay.
Thanks to Matthias for the reminder.