Skip to content
Browse files

layers.awk: handle comments properly in layers.txt

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent 797c9e5 commit e435cdabf1ac0eb46aab31b67253633eff33ae38 @denix0 denix0 committed with koenkooi Apr 17, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 scripts/layers.awk
View
5 scripts/layers.awk
@@ -1,9 +1,6 @@
-
BEGIN {
FS =",";
print "Configured layers:\n";
}
-$1 != "# Name" { print "layer repository name: " $1 "\nlayer uri: " $2 "\nlayer branch/revision: " $3 "/" $4 ; system("${OE_BASE}/scripts/layerman " $1 " " $2 " " $3 " " $4 " " command " " commandarg);}
-
-
+$1 !~ "^#" { print "layer repository name: " $1 "\nlayer uri: " $2 "\nlayer branch/revision: " $3 "/" $4 ; system("${OE_BASE}/scripts/layerman " $1 " " $2 " " $3 " " $4 " " command " " commandarg);}

0 comments on commit e435cda

Please sign in to comment.
Something went wrong with that request. Please try again.