* Chris Lamb <[EMAIL PROTECTED]> [2008-10-21 07:02-0400]: > tags 497535 + patch > thanks > > Patch against 0.9.6-3 attached; a patch for etch is analoguous. Micah, > any thoughts on proposing this for a lenny freeze exemption?
This has been fixed in upstream svn some time ago, although using a
slightly different solution than you proposed (see below for the
difference).
About getting it into Lenny... I'm doubtful it would be accepted,
especially since this is only something which shows up if you have
'reportspace = yes' in your config (not the default). But I suppose it
might be worth trying.
> diff -urNd backupninja-0.9.6.orig/src/backupninja.in
> backupninja-0.9.6/src/backupninja.in
> --- backupninja-0.9.6.orig/src/backupninja.in 2008-10-21 11:53:45.000000000
> +0100
> +++ backupninja-0.9.6/src/backupninja.in 2008-10-21 11:55:06.000000000
> +0100
> @@ -561,7 +561,7 @@
> previous=""
> for i in $(ls "$configdirectory"); do
> backuploc=$(grep ^directory "$configdirectory"/"$i" |
> @AWK@ '{print $3}')
> - if [ "$backuploc" != "$previous" ]; then
> + if [ "$backuploc" != "$previous" ] && [ -n "$backuploc"
> ]; then
This is what was checked into svn r618:
if [ "$backuploc" != "$previous" -a -n "$backuploc" ];
then
micah
signature.asc
Description: Digital signature

