changeset 28500:9e9ddc90e88a

pkg.m: Handle package names in a case insensitive manner (bug #57735). * pkg.m: Use tolower() on input package names so that all comparisons will be case insensitive.
author Rik <rik@octave.org>
date Tue, 23 Jun 2020 11:55:11 -0700
parents 7a640885171a
children e5ced6bd5ac0
files scripts/pkg/pkg.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/pkg/pkg.m	Mon Jun 22 21:41:15 2020 +0200
+++ b/scripts/pkg/pkg.m	Tue Jun 23 11:55:11 2020 -0700
@@ -456,7 +456,7 @@
         endif
         action = varargin{i};
       otherwise
-        files{end+1} = varargin{i};
+        files{end+1} = tolower (varargin{i});
     endswitch
   endfor