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

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

[Octave-bug-tracker] [bug #60472] pkg -global option changes pkg prefix


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #60472] pkg -global option changes pkg prefix for subsequent calls
Date: Thu, 29 Apr 2021 10:07:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Follow-up Comment #5, bug #60472 (project octave):

Where you write "prefix" you actually refer to the difference between local
and global packages, right?
FTR, "prefix" is also meant for the storage location of local packages. It's
confusing, agreed.

It would be good if the (or a?) desired behavior of pkg.m gets sorted out well
and compared to its actual behavior. But then again both may differ depending
on platform, on where/how Octave got installed and maybe on who is doing some
operation (admin/root or ordinary user).
In some way there seem to be just too many options and scenario's.

As to rmdir:
Would it help to temporarily wrap calls to rmdir into an if block that checks
if rmdir's input argument is empty? Then you don't have to rebuild Octave.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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