Bug#385269: backup-manager: updated patch for #385269

2006-09-01 Thread Alexis Sukrieh
Hi, Thomas Parmelan wrote: Hi, [...] The following patch fixes this for me but is probably specific to bash. [...] # First list all the files to process # and ask bakup-manager-purge what to remove list=$(mktemp /tmp/bm-list.XX) find -H $directory -type f -print \

Bug#385269: backup-manager: updated patch for #385269

2006-08-31 Thread Thomas Parmelan
Hi, Forget the explanation i gave in my previous mail, it was wrong. The real problem lies in shell variables and function recursivity: in clean_directory() $list is not declared as local, so when you have a subdirectory and call clean_directory() on it, $list is modified. The following patch fix