Skip to content

Commit

Permalink
Implement module prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Reale committed Jan 8, 2018
1 parent 0eccc48 commit 91a8d61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/bashlet
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
BASHLETS_NAME=bashlets
BASHLETS_BASE=~/.bashlets
BASHLETS_LOADER_1ST_STAGE="${BASH_SOURCE[0]}"
BASHLETS_LOADER_2ND_STAGE="$BASHLETS_BASE/${BASHLETS_REV:-DEFAULT}/bin/bashlet2"
BASHLETS_LOADER_2ND_STAGE="$BASHLETS_BASE/core/${BASHLETS_REV:-DEFAULT}/bin/bashlet2"
BASHLETS_ERRORS_LOADING_ERROR=1


Expand Down
2 changes: 1 addition & 1 deletion bin/bashlet2
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function bashlet2_import_lazy()
bashlet2_import_lazy "library/loader"
}

file="$BASHLETS_BASE/${BASHLETS_REV:-DEFAULT}/lib/$bashlet"
file="$BASHLETS_BASE/core/${BASHLETS_REV:-DEFAULT}/lib/$bashlet"

source "$file"
}
Expand Down
2 changes: 1 addition & 1 deletion lib/library/loader
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function __bashlets_library_loader_bashlet_to_file()
{
local bashlet="$1"

echo "$BASHLETS_BASE/${BASHLETS_REV:-DEFAULT}/lib/$bashlet"
echo "$BASHLETS_BASE/core/${BASHLETS_REV:-DEFAULT}/lib/$bashlet"
}

function __bashlets_library_loader_list_all_methods()
Expand Down

0 comments on commit 91a8d61

Please sign in to comment.