diff options
author | tv <tv@shackspace.de> | 2014-12-27 12:58:26 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-12-27 12:58:26 +0100 |
commit | 2fe055f86673816330b75b7e100c4a8391813bc6 (patch) | |
tree | 70a131d6f0fba1861e8d8ebbe3dd1c859ad67f7c | |
parent | 58f223427bbfc788d0ab8c0f81d045d98d4a3a12 (diff) |
exeFromDir: return pname-version
-rwxr-xr-x | load-env | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ exeFromDirName() { case "$1" in "$HOME/src/"[0-9A-Za-z-]*) name=$(basename "$1") - findexe "$name" | highest_version + basename $(findexe "$name" | highest_version) | sed s:^load-env-:: ;; "$HOME/src/"*) echo2 "bad basename: $(basename "$1")";; *) echo2 "load-env only knows about stuff below ~/src";; |