
23 Sep
2003
23 Sep
'03
11:49 a.m.
On Tue, Sep 23, 2003 at 12:26:58PM +0200, jerome@lemontreer.net wrote:
Hi everybody about OTRS 1.1.3 /script/backup.sh I think I found a bug in backup.sh line 105 in the way to calculate the old backup dir :
OLDBACKUPFOLDER="$(date +%Y)-$(( $(date +%m) - 1))-$(date +%d)*" echo "deleting old backups in ${BACKUPDIR}/${OLDBACKUPFOLDER}" rm -Rf ${BACKUPDIR}/${OLDBACKUPFOLDER}
Under RedHat 9 it makes an error: backup.sh: line 105: 09: value too great for base (error token is "09")
confirmed, I uploaded a patched version to the cvs. I wonder why it ever worked... -- Regards, Wiktor Wodecki