Skip to content

Commit

Permalink
Small fix in library/loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Reale committed Mar 13, 2018
1 parent bd59076 commit f6a08f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/library/loader
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function __bashlets::library::loader::bashlet_to_name()

function __bashlets::library::loader::bashlet_to_path()
{
dirname "$1" | tr / _
local path="$(dirname $1)"
echo "${path//\//::}"
}

function __bashlets::library::loader::bashlet_to_file()
Expand Down

0 comments on commit f6a08f8

Please sign in to comment.