Skip to content

Commit

Permalink
lvu: rename unalias to expand_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Aug 6, 2014
1 parent 9f9340b commit b469d62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prog/lvu
Expand Up @@ -519,7 +519,7 @@ moonalyze() {

depends() {
debug_msg "depends ($@)"
DEP=$(NEVER_ASK=1 unalias $1)
DEP=$(NEVER_ASK=1 expand_alias $1)
add_if_missing_dep $DEP
if [ -z "$DEP" ]; then
broken_deps=("${broken_deps[@]}" "$mod")
Expand All @@ -529,7 +529,7 @@ moonalyze() {
optional_depends() {
debug_msg "optional_depends ($@)"

DEP=$(NEVER_ASK=1 unalias $1)
DEP=$(NEVER_ASK=1 expand_alias $1)
add_if_missing_dep $DEP

if [ -z "$DEP" ]; then
Expand Down Expand Up @@ -634,13 +634,13 @@ function show_tree() {
# local definitions
function depends() {
debug_msg "depends ($@)"
DEP=$(NEVER_ASK=1 unalias $1)
DEP=$(NEVER_ASK=1 expand_alias $1)
echo "+$DEP"
}

optional_depends() {
debug_msg "optional_depends ($@)"
DEP=$(NEVER_ASK=1 unalias $1)
DEP=$(NEVER_ASK=1 expand_alias $1)
echo "-$DEP"
}

Expand Down

0 comments on commit b469d62

Please sign in to comment.