diff scripts/pkg/pkg.m @ 14446:12ccdce2c216

maint: periodic merge of stable to default
author John W. Eaton <jwe@octave.org>
date Fri, 09 Mar 2012 16:39:24 -0500
parents 7277fe922e99 245963d3d628
children cfb0173fe1ca
line wrap: on
line diff
--- a/scripts/pkg/pkg.m
+++ b/scripts/pkg/pkg.m
@@ -1751,7 +1751,8 @@
         value = strip (line (colon+1:end));
         if (length (value) == 0)
             fclose (fid);
-            error ("the keyword %s has an empty value", desc.keywords{end});
+            error ("The keyword `%s' of the package `%s' has an empty value",
+                    keyword, desc.name);
         endif
         desc.(keyword) = value;
       endif