Page 1 of 1

Patch for bug in zmupdate.pl.in

Posted: Tue Sep 27, 2011 10:03 am
by Barry Jackson
I am not a pearl programmer but this looks like a typo and breaks the updater - this patch fixes it.
It the same in 1.24.4.and 1.25.0

OK I give up - I add the patch as an attachment and it does not show anywhere in the post so here it is instead.

Code: Select all

--- scripts/zmupdate.pl.in_orig	2011-08-26 08:51:37.000000000 +0100
+++ scripts/zmupdate.pl.in	2011-09-27 00:40:53.212017379 +0100
@@ -420,7 +420,7 @@
         $command .= " ".ZM_DB_NAME." < ";
         if ( $updateDir )
         {
-            $command -= $updateDir;
+            $command .= $updateDir;
         }
         else
         {

Re: Patch for bug in zmupdate.pl.in

Posted: Tue Sep 27, 2011 10:33 am
by Barry Jackson
Note edit above

Re: Patch for bug in zmupdate.pl.in

Posted: Tue Sep 27, 2011 10:57 am
by nightcrawler
barry,

You can't upload .txt, .sh etc files. please zip them and then they will show as an attachment.