Skip to content

Commit

Permalink
Unalias dependency in in_depends()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed May 29, 2013
1 parent 9b3024c commit a54f140
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/depends.lunar
Expand Up @@ -126,9 +126,12 @@ is_depends() {


in_depends() {
local DEP
debug_msg "in_depends ($@)"

DEP=$(unalias $2)
# Was $2 presented as a dependency for module $1
return $(grep -q "^$1:$2:on:" "$DEPENDS_STATUS")
return $(grep -q "^$1:$DEP:on:" "$DEPENDS_STATUS")
}


Expand Down

0 comments on commit a54f140

Please sign in to comment.