octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57735] pkg: package names should be handled c


From: Rik
Subject: [Octave-bug-tracker] [bug #57735] pkg: package names should be handled case insensitively
Date: Tue, 9 Jun 2020 17:44:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57735 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

Is a fix as simple as using tolower() early on when names are collected?


diff -r f5c9bb5955e7 scripts/pkg/pkg.m
--- a/scripts/pkg/pkg.m Tue Jun 09 14:11:13 2020 -0700
+++ b/scripts/pkg/pkg.m Tue Jun 09 14:41:44 2020 -0700
@@ -456,7 +456,7 @@ function [local_packages, global_package
         endif
         action = varargin{i};
       otherwise
-        files{end+1} = varargin{i};
+        files{end+1} = tolower (varargin{i});
     endswitch
   endfor
 





(file #49235)
    _______________________________________________________

Additional Item Attachment:

File name: bug57735.diff                  Size:0 KB
    <https://savannah.gnu.org/file/bug57735.diff?file_id=49235>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]