Re: problem with reference archive path
Hiran Chaudhuri <[email protected]> Tue, 23 Sep 2008 21:26:08 +0200
| Newsgroups | gmane.comp.sysutils.backup.sarab |
|---|---|
| Message-ID | <1222197968.7014.1.camel@silver> |
Am Dienstag, den 23.09.2008, 21:55 +1200 schrieb Glen Davies: > Managed to fix this problem. I changed the reference_basename line to > the following and it now works fine for me - not sure if it was a > difference in sed on ubuntu or maybe dar writing a different archive > filename that caused the problem > > REFERENCE_BASENAME="--ref $(/bin/ls > $DESTINATION/$REFERENCE_ARCHIVE/*.dar | head -n 1 | sed -e > 's/\.[0-9]*\.dar$//')" > > > Glen Now I understand. The original code only works for one digit reference files but you face two digits. Hence your patch makes sense. I'll include that in future releases. Hiran ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/