I have noticed recently that the avira update script in ubcd/tools/win32/antivirus has not been working. Below is the result, I have verified that this is not an ACL issue. 'Everyone' has full control over all directories and files within my build directory.

C:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\grep.exe: ./../../../boot/antivir/isolinux.cfg: No such file or directoryavira.sh: line 85: rm: command not foundC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/syslinux.cfg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/grub4dos.lst: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\grep.exe: ./../../../boot/antivir/welcome.msg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../menus/syslinux/others.cfg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../menus/grub4dos/others.lst: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/grub4dos.lst: No such file or directoryavira.sh: line 98: rm: command not found

Updating is complete.

Press any key to continue . . .

Also, the clamav update script places the updated clamav-definitions.txz on the root of my drive and not in the appropriate location. ex. C:\pmagic\pmodules\clamav-definitions.txz should be C:\UB\UBCD\files\pmagic\pmodules\clamav-definitions.txz

I only have Linux to test the scripts with.
The windows version of 7z doesn't seem to like paths like ./../../ after a argument like -o. The Windows port of Bash only seems to convert the paths without a argument parameter from Linux to Windows paths (replaces / with \).

if [ -n "$prgXZ" ]; then # Remove 'fprot-update-link.xml' in case that it still exist. rm -f "${FPROT_TEMPDIR}/fprot-update-link.xml"

# Get the file that contains the link to the last definition file wget -O "${FPROT_TEMPDIR}/fprot-update-link.xml" 'http://directupdates.f-prot.net/cgi-bin/get_update_info?protocol=2&key=AFPXJ5KN83983257LJHG64S7NSTA6CABA2'

if [ -f "${FPROT_TEMPDIR}/fprot-update-link.xml.old" ]; then #Compare the link to the definition file for the new and old 'fprot-update-link.xml' URL_UPDATE_PATH_NEW=`grep -o /files/defs/.*/antivir.def "${FPROT_TEMPDIR}/fprot-update-link.xml"` URL_UPDATE_PATH_OLD=`grep -o /files/defs/.*/antivir.def "${FPROT_TEMPDIR}/fprot-update-link.xml.old"`

C:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\grep.exe: ./../../../boot/antivir/isolinux.cfg: No such file or directoryavira.sh: line 98: rm: command not foundC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/syslinux.cfg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/grub4dos.lst: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\grep.exe: ./../../../boot/antivir/welcome.msg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../menus/syslinux/others.cfg: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../menus/grub4dos/others.lst: No such file or directoryC:\UB\UBCD\files\ubcd\tools\win32\unxutils\bin\sed.exe: can't read ./../../../boot/antivir/grub4dos.lst: No such file or directoryavira.sh: line 111: rm: command not found

Updating is complete.

Press any key to continue . . .

Avira Test Script 2

Code:

Update 'Avira AntiVir Rescue System' to the last version________________________________________________________

avira.sh: line 124: unexpected EOF while looking for matching `"'avira.sh: line 129: syntax error: unexpected end of filePress any key to continue . . .

ClamAV Test ScriptThe result of this script is identical to the original, updated defs are created at C:\pmagic\pmodules\*

Code:

Update definition files of ClamAV to the last version_____________________________________________________

Who is online

Users browsing this forum: No registered users and 7 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum