Project

General

Profile

Bug #18125

dropit -E drops ~user/bin even if it exists...

Added by Marc Mengel over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/06/2017
Due date:
% Done:

0%

Estimated time:
Spent time:
Experiment:
-
Duration:

Description

In many shells these days ~user works in PATH. dropit however doesn't believe in expanding ~user, so dropit -E will remove those components from your path.

Associated revisions

Revision 2892 (diff)
Added by Marc Mengel over 1 year ago

draft of fix for #18125

History

#1 Updated by Marc Mengel over 1 year ago

Draft of fix is in r2892, basically wrapped stat() with a call exp_stat() that
expands ~/ and ~user/ before doing the stat() call.

Seems to work on some simple test cases.

#2 Updated by Lynn Garren over 1 year ago

ups v6_0_6 is tagged and available in kits for SLF6 and on SciSoft.



Also available in: Atom PDF