Fixing YANG bucklet to properly generate the name of the model registrator class.
Also fixing yang-live-compile scenario.
Change-Id: I614726d1a3220c06bc7146d2445ec8d6b6b57417
diff --git a/bucklets/yang.bucklet b/bucklets/yang.bucklet
index 490c62a..5fbf2ab 100644
--- a/bucklets/yang.bucklet
+++ b/bucklets/yang.bucklet
@@ -52,7 +52,7 @@
genrule(
name = registrator,
srcs = [ ':' + yangSrcs ],
- cmd = '$(location //buck-tools:yang-registrator) $OUT app_name $SRCS',
+ cmd = '$(location //buck-tools:yang-registrator) $OUT ' + app_name + ' $SRCS',
out = 'YangModelRegistrator.java'
)