diff scripts/pkg/get_forge_pkg.m @ 11588:d5bd2766c640

style fixes for warning and error messages in script files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:51:13 -0500
parents fd0a3ac60b0e
children e4dbfe3019b1
line wrap: on
line diff
--- a/scripts/pkg/get_forge_pkg.m	Thu Jan 20 17:35:29 2011 -0500
+++ b/scripts/pkg/get_forge_pkg.m	Thu Jan 20 17:51:13 2011 -0500
@@ -46,7 +46,7 @@
     pat = "<tdclass=""package_table"">PackageVersion:</td><td>([0-9.]*)</td>";
     t = regexp (html, pat, "tokens");
     if (isempty (t) || isempty(t{1}))
-      error ("get_forge_pkg: could not read version number from package's page.");
+      error ("get_forge_pkg: could not read version number from package's page");
     else
       ver = t{1}{1};
       if (nargout > 1)
@@ -55,7 +55,7 @@
         url = sprintf (urlbase, name, ver);
         ## Verify that the string exists on the page.
         if (isempty (strfind (html, url)))
-          warning ("get_forge_pkg: download URL not verified.");
+          warning ("get_forge_pkg: download URL not verified");
         endif
       endif
     endif