[Lunar-commits] <lunar> Unalias dependency in in_depends()

Stefan Wold ratler at lunar-linux.org
Wed May 29 19:43:26 CEST 2013


commit a54f140b7b579cff3fd48b1117a48dbc9465e9a3
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Wed, 29 May 2013 10:34:33 -0700
URL: https://github.com/lunar-linux/lunar/commit/a54f140b7b579cff3fd48b1117a48dbc9465e9a3

Unalias dependency in in_depends()
---
  libs/depends.lunar | +4/-1     
  1 file changed, 4 insertions(+), 1 deletion(-)

--- a/libs/depends.lunar
+++ b/libs/depends.lunar
@@ -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")
 }
 
 




More information about the Lunar-commits mailing list